Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7
-
None
-
Unknown
Description
When using pre-authorized tokens I need the requested scope to be able to create the token.
Please change the OAuthDataProvider interface to include:
ServerAccessToken getPreauthorizedToken(Client client, UserSubject subject, String grantType, List<String> requestedScope) throws OAuthServiceException;
And change RedirectionBasedGrantService.java and AbstractGrantHandler.java to pass the requestedScope variable in to getPreauthorizedToken.
Thanks.