New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep track of which apps requested which scopes for users #437
Conversation
This enables us in the future to create the concept of a third-party apps. These apps will explictly have to request the user if they are willing to give permission to certain scopes. Right now all scopes are auto-granted, because all apps are considered 'first party' and trusted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to make sure I understand: With this change apps will be able to explicitly request a list of scopes (as opposed to defaulting to all scopes), but this doesn't yet actually require permission from the user yet?
Co-authored-by: Philippe Schwyter <phil@badgateway.net>
Yeah this is correct. We currently only have 'privileged' applications. Auto-granting these scopes makes sense for first party-applications. But for third-party applications users would have to explicitly consent to these scopes. This entire PR is really to set up the plumbing to make that possible in the future. Tracking scopes for privileged applications is not super useful by itself. |
Co-authored-by: Philippe Schwyter <phil@badgateway.net>
This enables us in the future to create the concept of a third-party apps. These apps will explicitly have to request the user if they are willing to give permission to certain scopes.
Right now all scopes are auto-granted, because all apps are considered 'first party' and trusted.
This is also a step towards OpenID Connect support.
Fixes #435