jhuapl-boss / boss-oidc

Django Auth plugin specific to the Boss SSO Server
Apache License 2.0
13 stars 22 forks source link

Improve support for custom scope requests #4

Closed derek-pryor closed 6 years ago

derek-pryor commented 6 years ago

Currently the OIDC_PROVIDERS['KeyCloak']['behaviour']['scope'] variable can be overridden to increase the data that is sent back by the OIDC provider, but there is no way for the user to get access to the data during the login process.

derek-pryor commented 6 years ago

Added scope argument to configure_oidc() call and helper function UPDATE_USER_DATA that can point to a custom function to handle the new scope values.