-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Issuer url is allways fallowed by / even when defined without #1041
Comments
This is intended behavior. First of all, there is no difference between Unless there is a proper issue with this (which I'm sure there isn't), this will not change. |
Ok, I understand your point of view. I understand functional diference between those urls, still... when you share url without path part the convention is to ommit singular / sign. Look at what OpenID Connect has to say about issuer identifier
even the spec is giving example without trailing / also same spec at Terminoogy part states that path part is optional and your decision makes it obligatory in at least "/" form
Please reconsider distinguishing behavior when issuer is defined with and without path part in uri. |
The examples are just that, examples. But the bigger question is, why do you care and why is this a problem? Is there a client library that expects this to not have a trailing slash? Streamlining the little things (like this) is extremely important. Let's assume you run two instances with equal configs but forget to add the Removing this would not improve the product, it would degrade developer experience (making it easier to make simple mistakes). Unless there's a proper issue here, again, this is expected and will not be changed. |
It seems some frameworks (e.g. Spring Security 2.4.2) don't take take the issuer from openid-configuration, but from the url used to call the openid-configuration endpoint. |
Please give it a look, cosmetic issue
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Issuer url on iss claim on idToken and accessToken is always finished with "/" sign, same thing with issuer value on /.well-known/openid-configuration.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
0. Based on 5 minute tutorial config
What is the expected behavior?
Issuer value should be used as it is defined. In this example it should be: http://localhost:4444
Which version of the software is affected?
V 1.0.0-beta.8 and V 1.0.0-beta.9
The text was updated successfully, but these errors were encountered: