| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| less | ||
| scripts | ||
| origin-web-common-services.js | ||
| origin-web-common-ui.js | ||
| origin-web-common.css | ||
| origin-web-common.js | ||
| origin-web-common.min.js |
Add `OAuthScope` getter/setter to the RedirectLoginService. This change allows specifying the 'scope' parameter when requesting an authorization code & token. This is necessary if using an OAuth client that doesn't allow requesting tokens with the default 'user:full' scope. e.g. A ServiceAccount OAuth Client https://docs.openshift.com/container-platform/3.6/architecture/additional_concepts/authentication.html#service-accounts-as-oauth-clients *Example Usage* ```js angular .module('myApp', [ 'openshiftCommonServices' ]) .config(['RedirectLoginServiceProvider', function (RedirectLoginServiceProvider) { RedirectLoginServiceProvider.OAuthScope('user:info user:check-access'); }]) ```
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| less | Loading commit data... | |
| scripts | Loading commit data... | |
| origin-web-common-services.js | Loading commit data... | |
| origin-web-common-ui.js | Loading commit data... | |
| origin-web-common.css | Loading commit data... | |
| origin-web-common.js | Loading commit data... | |
| origin-web-common.min.js | Loading commit data... |