conwetlab / ckanext-oauth2

OAuth2 support for CKAN
GNU Affero General Public License v3.0
25 stars 56 forks source link

OIDC compatibility #40

Open espenfl opened 4 years ago

espenfl commented 4 years ago

Dear everyone. I have tried to set up the extension towards Azure AD using OIDC.

In that context I have a few questions:

Given that OIDC is rather strictly defined and that it support discovery as well, would it make sense to make a new plugin, or at least add a mode for OIDC only and get rid of the legacy stuff? Maybe fork of this plugin and utilize https://github.com/rohe/pyoidc or something along those lines? Do you know if anyone is working on something like this?

Thanks a lot for the work you have done on this plugin.

aitormagan commented 4 years ago

JWT is supported by this extension. If you want the extension to read the info from the token instead of calling another API, you should set the jwt.enable property to True as stated in the document you sent.