Skip to content
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

Present authorized scopes to user, post-auth #63

Merged
merged 1 commit into from Mar 1, 2021

Conversation

jamietanna
Copy link
Collaborator

Previously, the scopes that were presented to the user (alongside their
me) were the scopes that Micropublish requested, rather than the
scopes returned by the authorization server.

We should make sure we present those that were actually returned by the
token endpoint.

To match the intent, we should update our methods to note that they also
return the scope, and make sure we update our session object with it.

Previously, the scopes that were presented to the user (alongside their
`me`) were the scopes that Micropublish requested, rather than the
scopes returned by the authorization server.

We should make sure we present those that were actually returned by the
token endpoint.

To match the intent, we should update our methods to note that they also
return the `scope`, and make sure we update our session object with it.
@jamietanna jamietanna changed the title Present authorized scopes to user, psot-auth Present authorized scopes to user, post-auth Feb 28, 2021
@barryf
Copy link
Owner

barryf commented Mar 1, 2021

This looks great! 🙌 I'll check it out later but should be good to merge.

@barryf barryf temporarily deployed to mpubl-pr-63 March 1, 2021 19:49 Inactive
@barryf barryf merged commit 333f6ca into barryf:master Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants