-
Notifications
You must be signed in to change notification settings - Fork 186
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
Make tokeninfo endpoint unprotected #4715
Conversation
Is is necessary to add the endpoint in the
|
Yeah, I think you need to add them there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JammingBen Would you mind sharing (preferably in the commit message), why this is needed?
Sorry for adding more confusion here 🤦♂️ , but I took a bit of a deeper look into the code now. I think the correct fix is to add You can also remove This way you shouldn't need to touch the defaultconfig.go, neither the docker-compose examples. @C0rby Feel free to correct me if I am wrong. |
@rhafer is correct. This is the place where you need to add the lines: https://github.com/owncloud/ocis/blob/master/services/proxy/pkg/middleware/authentication.go#L24-L29 There is one already but it is prefixed with |
…able to the public
37809a9
to
a323cf3
Compare
I've adjusted the PR, thx for your help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description
Make the tokeninfo endpoint unprotected as it is supposed to be available to the public.
Types of changes