vertx-auth icon indicating copy to clipboard operation
vertx-auth copied to clipboard

Get the scope from the user not the principal

Open ikstewa opened this issue 4 years ago • 0 comments

Depending on the AuthenticationProvider impl the scope may not be in the principal. Instead use the User#get method which checks multiple locations. This allows for the ScopeAuthorization to be used in conjunction with the OAuth2Auth.

Conformance:

Your commits should be signed and you should have signed the Eclipse Contributor Agreement as explained in https://github.com/eclipse/vert.x/blob/master/CONTRIBUTING.md Please also make sure you adhere to the code style guidelines: https://github.com/vert-x3/wiki/wiki/Vert.x-code-style-guidelines

ikstewa avatar Jan 07 '21 05:01 ikstewa