Skip to content

Present authorized scopes to user, post-auth#63

Merged
barryf merged 1 commit into
barryf:masterfrom
jamietanna:defect/scope
Mar 1, 2021
Merged

Present authorized scopes to user, post-auth#63
barryf merged 1 commit into
barryf:masterfrom
jamietanna:defect/scope

Conversation

@jamietanna
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants