Skip to content

How-to: Correctly setup issuer - how does it work with well-known ? #576

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

Closed
colin-riddell opened this issue Jan 10, 2022 · 5 comments
Closed
Assignees
Labels
status: declined A suggestion or change that we don't feel we should currently apply

Comments

@colin-riddell
Copy link

colin-riddell commented Jan 10, 2022

It would be nice to get a guide on how the issuer works and gotchas to look out for. Eg not clear to me if the issuer actually reads from the given url's well-known location?

Related: #499

@colin-riddell colin-riddell added the type: enhancement A general enhancement label Jan 10, 2022
@jgrandja
Copy link
Collaborator

@colin-riddell This seems more of a question that a guide. Can you please provide more details on what you are looking for?

@jgrandja jgrandja added status: waiting-for-feedback We need additional information before we can continue and removed type: enhancement A general enhancement labels Jan 10, 2022
@colin-riddell
Copy link
Author

colin-riddell commented Jan 12, 2022

I've had to figure out what the effect of configuring the issuer is just by trying it out and slowly finding out that, for example, the resource server tries to match its issuer against the authorization server's configured issuer and if they mismatch then it doesn't allow the resource server to start.

On reflection this is maybe more of a suggestion to include something in the documentation on the issuer. Unless this is already documented somewhere ?

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Jan 12, 2022
@jgrandja
Copy link
Collaborator

@colin-riddell There is no documentation at the moment but we're starting it. I'll leave this open and we'll document it.

@jgrandja jgrandja added type: enhancement A general enhancement and removed status: feedback-provided Feedback has been provided labels Jan 12, 2022
@everflux
Copy link

everflux commented Sep 25, 2022

It would be great, if the location of the metadata could be configured.
I am aware that the "/.well-known" path is indeed named that way for a reason. I have a scenario where I need to decide to either change the servlet context-path or use a reverse proxy to work around the currently hardcoded metadata location in OAuth2AuthorizationServerMetadataEndpointFilter, OidcProviderConfigurationEndpointFilter and OAuth2AuthorizationServerConfigurer

@jgrandja
Copy link
Collaborator

@colin-riddell I still feel the comments you provided are more questions than a How-to guide.

We have documented OpenID Connect 1.0 Provider Configuration Endpoint and OAuth2 Authorization Server Metadata Endpoint. Each of the sections reference the relevant specifications so you can review them further to gain a deeper understanding of issuer.

I'm going to close this but if you have something more specific that needs documenting please comment here and we can discuss further.

@jgrandja jgrandja added status: declined A suggestion or change that we don't feel we should currently apply and removed type: enhancement A general enhancement labels Dec 20, 2022
@jgrandja jgrandja self-assigned this Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

No branches or pull requests

4 participants