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

Add OAuth2 as a potential authorization layer #7

Open
awoie opened this issue Jul 8, 2020 · 1 comment
Open

Add OAuth2 as a potential authorization layer #7

awoie opened this issue Jul 8, 2020 · 1 comment

Comments

@awoie
Copy link

awoie commented Jul 8, 2020

I suggest to support other authorization schemas as well. OAuth2 is still the most prevalent mechanism for web services. OAuth2 support should be added. A similar approach to SDS could be taken.

From the SDS spec:

The system is expected to specify one mandatory authorization scheme, but also allow other alternate authorization schemes. Examples of authorization schemes include OAuth2, Web Access Control, and [ZCAP]s (Authorization Capabilities).

@msporny @dlongley @OR13 can you please clarify whether you intend to support ZCAPs only.

@OR13
Copy link
Contributor

OR13 commented Jul 8, 2020

Its easy to add support for OAuth2, its handled the same way ZCaps are handled... in the http request pre handler (or some similar function depending on the framework).

I think from a spec perspective, we could easily support both, assuming someone contributed the OAuth2 spec material.

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