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

always initialize http handler #8946

Merged
merged 1 commit into from
Apr 25, 2024
Merged

always initialize http handler #8946

merged 1 commit into from
Apr 25, 2024

Conversation

butonic
Copy link
Member

@butonic butonic commented Apr 24, 2024

fixes #8703

I also moved the oidcUrl from a struct property to a parameter of the handler func as it is only used there. By moving the parsing of the url right next to the handler we improve the Locality of Behavior.

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Logger: logger,
Config: *cfg,
OidcClient: oidcClient,
OidcHttpClient: oidcHTTPClient,
Copy link
Member Author

@butonic butonic Apr 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line is the actual fix, the rest is bonus

Copy link

sonarcloud bot commented Apr 24, 2024

@butonic butonic merged commit 06ebbe6 into master Apr 25, 2024
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix-well-known-rewrite branch April 25, 2024 13:32
ownclouders pushed a commit that referenced this pull request Apr 25, 2024
@micbar micbar mentioned this pull request Jun 19, 2024
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

oCIS crashes when setup with external idp (keycloak) and web-config.json
2 participants