🌱 Add custom scopes to authorisation request - #277
Conversation
This enables the Okta-hosted login app to request additional custom scopes when authorising.
|
@jaredperreault-okta can you give this a review and merge if you're happy please? |
|
@kelvin-chappell @Mark-McCracken Do you mind explaining your use case? |
At the moment, if you need to generate an access token with more than the default access scopes configured here you have to search through the code and add them to that array. |
|
@jaredperreault-okta I've been using this for the last few days, which has been helpful for getting certain kinds of access tokens. Do you need anything to get this merged? |
|
Sadly, I will consider this change as rejected. |
This change enables the Okta-hosted login app to request additional custom access scopes when authorising.
Custom scopes can now be added as an optional property called
CUSTOM_SCOPESin thetestenvproperty file.Each scope is space separated.
Eg.
CUSTOM_SCOPES=read writeThese scopes are then added to the default list and included in the token request.