-
Notifications
You must be signed in to change notification settings - Fork 32
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
Custom OIDC provider #24
Comments
A few issues before the release: oauth_custom_uid_field_info: UID field (default - sub) What do you mean with 'sub'?
-- <%= l(:oauth_login_via, oauth: Setting.plugin_redmine_oauth[:custom_name].strip.empty? ? Setting.plugin_redmine_oauth[:oauth_name] : Setting.plugin_redmine_oauth[:custom_name]).html_safe %>
++ <%= l(:oauth_login_via, oauth: Setting.plugin_redmine_oauth[:custom_name].blank? ? Setting.plugin_redmine_oauth[:oauth_name] : Setting.plugin_redmine_oauth[:custom_name]).html_safe %>
|
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
Good point, agree.
Probably you are absolutely correct, sorry I missed it (tbh I'm not a ruby/redmine dev). just created a new PR for the suggested changes. |
Thanks. |
Could you implement an ability to setup a custom OIDC provider?
I think the following settings need to be implemented:
DISPLAY_NAME to specify custom provider name on the button
OIDC_AUTH_ENDPOINT e.g. https://my-oidc-provider.url/openid/auth
OIDC_TOKEN_ENDPOINT e.g. https://my-oidc-provider.url/openid/token
OIDC_PROFILE_ENDPOINT e.g. https://my-oidc-provider.url/openid/me
OIDC_CLIENT_ID
OIDC_CLIENT_SECRET
OIDC_SCOPE e.g. "openid,profile,email"
OIDC_UID_FIELD e.g. "sub"
OIDC_NAME_FIELD e.g. "name"
OIDC_EMAIL_FIELD e.g. "email"
The text was updated successfully, but these errors were encountered: