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

How can an AS support both 2.0 and 2.1 clients concurrently #120

Open
aaronpk opened this issue Jun 30, 2022 · 1 comment
Open

How can an AS support both 2.0 and 2.1 clients concurrently #120

aaronpk opened this issue Jun 30, 2022 · 1 comment
Assignees
Milestone

Comments

@aaronpk
Copy link
Member

aaronpk commented Jun 30, 2022

We may need some additional client registration metadata parameters in order to enforce some of the non-optional things in 2.1 while allowing 2.0 clients to still treat them as optional.

Related to #97

@aaronpk
Copy link
Member Author

aaronpk commented Nov 20, 2024

We need AS metadata to tell clients what kind of clients it supports: OAuth 2.1 clients, or both clients. If the parameter doesn't exist, clients can assume the server only supports 2.0.

AS metadata:

  • oauth_versions: ["2.1","2.0"]

Should go in a new metadata section before extensibility https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-12.html#section-6

The client metadata needs to indicate whether the AS should follow 2.1 processing rules or 2.0 processing rules.

Client metadata

  • oauth_version: "2.1"

Need a new client metadata section in https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-12.html#section-2.3.1

@aaronpk aaronpk added this to the version -13 milestone Nov 20, 2024
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

2 participants