Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
v1.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
salte-bot committed Jan 13, 2017
2 parents e42d2da + 1687ff3 commit e19c0d7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ module.config(['$routeProvider', '$httpProvider', 'salteAuthServiceProvider', fu
scope: 'openid',
clientId: 'XE9mdXnr0j2z6_nED5ifDIW4S9oa',
url: 'https://login.microsoftonline.com/common/oauth2/',
extraQueryParameter: 'tenantDomain=tenant123',
redirectUri: 'https://<my registered application url>/',
securedEndpoints: {"/api" : "mySecuredAPI"},
anonymousEndpoints: ['templates'],
Expand All @@ -74,7 +75,8 @@ Parameter Name|Required|Default|Description
--------------|--------|-------|-----------
responseType |No|id_token | The value of this field is not validated by the library. However, according to the [OpenID Connect specification](http://openid.net/specs/openid-connect-core-1_0.html), this parameter should be passed as either "id_token" or "id_token token". Ultimately, the responseType passed must result in a valid id_token being returned from the identity provider for the user to be successfully authenticated.
scope|No|Not Passed|According to the [OpenID Connect specification](http://openid.net/specs/openid-connect-core-1_0.html), this parameter must contain, at minimum, the value "openid". Additionally, if supported by your identity provider, you may specify profile, email, address, and phone to request that specific sets of information be returned as claim values in the id_token. Additional identity provider-specific scopes may also be supported to identity what access privileges are being requested. As with responseType, the value of this parameter is not validated by the library.
url|Yes|None|This is the base url for the identity provider's authorize endpoint; not including the word authorize. It must be a valid https endpoint that ends in a forward slash.
url|Yes|None|This is the base url for the identity provider's authorize and token endpoint; not including the word authorize or token.
extraQueryParameter|No|None|Value to be included as an additional query parameter when calling the identity provider's authorize and token endpoints. Should be formatted as "name=value".
redirectUri|No|Current Window Location|Redirection URI to which the response will be sent. This URI MUST match the redirection URI pre-registered with the identity provider.
securedEndpoints|No|None|This is a JSON object containing one or more named endpoints formatted as { "Endpoint": "ResourceId" }. Endpoint may contain a partial URL to be matched against outgoing REST API calls. All calls matching a given "Endpoint" will share the same access token. "ResourceId" is just an arbitrary name used to group matching endpoints.
anonymousEndpoints|No|None|This is an array containing one or more partial URLs to be matched against outgoing REST API calls. Calls matching one of these partial URLs are considered anonymous and will not have a token attached. A typical use of this parameter is to identify the path to partial HTML files used in single page applications.
Expand Down
2 changes: 1 addition & 1 deletion dist/salte-auth-angular.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/salte-auth-angular.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/salte-auth-angular.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "salte-auth-angular",
"version": "1.0.11",
"version": "1.0.12",
"main": "dist/salte-auth-angular.min.js",
"description": "Provides OpenID Connect support to AngularJS applications through the addition of a simple configuration.",
"homepage": "https://github.com/salte-io/salte-auth-angular",
Expand Down

0 comments on commit e19c0d7

Please sign in to comment.