Open awoie opened 4 years ago
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.
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:
@msporny @dlongley @OR13 can you please clarify whether you intend to support ZCAPs only.