-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finished adding resources, ready to merge back into master
- Loading branch information
Showing
9 changed files
with
85 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
AzureAd = {} | ||
AzureAd = {} | ||
|
||
AzureAd.getConfiguration = function(returnNullIfMissing){ | ||
var config = ServiceConfiguration.configurations.findOne({service: 'azureAd'}); | ||
|
||
if (!config && !returnNullIfMissing) | ||
throw new ServiceConfiguration.ConfigError(); | ||
else if (!config && returnNullIfMissing) | ||
return null; | ||
|
||
//MUST be "popup" - currently Azure AD does not allow for url parameters in redirect URI's. If a null popup style is assigned, then | ||
//the url parameter "close" is appended and authentication will fail. | ||
config.loginStyle = "popup"; | ||
|
||
return config; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package.describe({ | ||
summary: "Azure Active Directory OAuth flow", | ||
version: "0.2.5", | ||
version: "0.3.0", | ||
name: "wiseguyeh:azure-active-directory", | ||
git: "https://github.com/djluck/azure-active-directory" | ||
}); | ||
|
@@ -14,10 +14,9 @@ Package.onUse(function(api) { | |
api.use('[email protected]', ['client', 'server']); | ||
|
||
api.export('AzureAd'); | ||
api.export('Graph'); | ||
|
||
api.addFiles(['azureAd.js', 'config.js']); | ||
api.addFiles(['resources.js', 'serverHttp.js', 'resources/graph.js'], 'server'); | ||
api.addFiles(['lib/azureAd.js']); | ||
api.addFiles(['lib/resources.js', 'lib/serverHttp.js', 'resources/graph.js'], 'server'); | ||
api.addFiles(['azure_ad_configure.html', 'azure_ad_configure.js'], 'client'); | ||
api.addFiles('azure_ad_server.js', 'server'); | ||
api.addFiles('azure_ad_client.js', 'client'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters