You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In authorization_code mode, what happens if the client applies for a permission that the user does not have?
E.g:
All users have message.read, message.write and other permissions
The client is configured with all the permissions in 1 above
There is now a user Tom who only has message.read permission
The client uses scope=message.write to apply for authorization. At this time, Tom only has message.read, but he can successfully return the code after authorization, and the code can still be exchanged for token
The text was updated successfully, but these errors were encountered:
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements.
@jgrandja Hello, I do want to enhance the existing function, because I found that when the user authorization page is authorized, it only verifies that the registered client has this permission, but in fact the user does not have this permission at all, which is equivalent to that the user grants a permission to the client that he does not have.
springploughing
changed the title
In authorization_code mode, what happens if the client applies for a permission that the user does not have?
The user grants a permission to the client that he does not have
Jun 2, 2021
In authorization_code mode, what happens if the client applies for a permission that the user does not have?
E.g:
message.read, message.write
and other permissionsmessage.read
permissionThe text was updated successfully, but these errors were encountered: