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

Require return of "resources" in token response #141

Closed
jricher opened this issue Dec 7, 2020 · 2 comments
Closed

Require return of "resources" in token response #141

jricher opened this issue Dec 7, 2020 · 2 comments

Comments

@jricher
Copy link
Collaborator

jricher commented Dec 7, 2020

Should the AS always return the "resources" structure to the RC in the token structure response? This is currently "RECOMMENDED" with little guidance as to when to return it or not.

It seems like it could be made required without placing additional burden on the client.

Originally posted by @yaronf in #136 (comment)

@jricher
Copy link
Collaborator Author

jricher commented Dec 15, 2021

Will make access a REQUIRED field, even if left empty by the AS.

@jricher
Copy link
Collaborator Author

jricher commented Dec 15, 2021

Related: the continuation access token uses the same structure but doesn't have "access" because it's a limited use token already. Should we define a "type" for continuation access tokens in GNAP and use it here? Strawman:

type: https://url-of-gnap-RFC/
actions: continue
locations: grant API URI

Downside? It's always going to be the same, so it might get ignored like "token_type: bearer" is ignored by OAuth clients.

@jricher jricher closed this as completed Oct 5, 2022
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

No branches or pull requests

1 participant