authgear / authgear-server

Open source alternative to Auth0 / Firebase Auth
https://www.authgear.com
Apache License 2.0
72 stars 29 forks source link

[App2App] Scopes should be validated according to client type #4357

Open tung2744 opened 1 week ago

tung2744 commented 1 week ago

Assume AppA is authenticated, and AppB is not authenticated.

Currently, when appB tries to authenticated with app2app by AppA, the scopes of AppA's session will be inherited to appB's session. Therefore, say if AppA supports a scope that AppB doesn't support, that new AppB's session will get an incorrect scope.

linear[bot] commented 1 week ago

DEV-1430 [App2App] Scopes should be validated according to client type