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

Use the 'well-known' configuration document to configure the SSO OpenID providers #3044

Closed
gbarbon opened this issue Jul 30, 2020 · 0 comments
Assignees
Labels
Enhancement This PR/Issue improves an part of Kapua

Comments

@gbarbon
Copy link
Contributor

gbarbon commented Jul 30, 2020

Is your feature request related to a problem? Please describe.
The SSO generic-provider in Kapua requires passing various properties in order to connect properly to the OpenID Provider. However, we could simply read the well-known configuration document provided by the OpenID Provider and configure the generic-provider consequently.

The well-known configuration document is part of the OpenID specification, see here for more information.

Describe the solution you'd like
The configuration step could first try configuring by using the well-known document. Then, if this step fails, it could use the manual configuration.

Describe alternatives you've considered
An alternative could be implementing an automatic-provider dedicated to the automatic configuration through the well-known document and maintain the generic-provider as it is currently implemented for manual configuration.

Additional context
Implementing this improvement does not mean to get rid of dedicated providers, since there can be OpenID Providers that are not fully compliant with the OpenID specification and thus require a dedicated provider to be configured on Kapua.

@Coduz Coduz added the Bug This is a bug or an unexpected behaviour. Fix it! label Aug 28, 2020
@Coduz Coduz added Enhancement This PR/Issue improves an part of Kapua and removed Bug This is a bug or an unexpected behaviour. Fix it! labels Aug 28, 2020
@Coduz Coduz closed this as completed Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement This PR/Issue improves an part of Kapua
Projects
None yet
Development

No branches or pull requests

2 participants