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

OIDC: configurable post_logout_redirect_uri #6536

Closed
wkloucek opened this issue Mar 9, 2023 · 9 comments
Closed

OIDC: configurable post_logout_redirect_uri #6536

wkloucek opened this issue Mar 9, 2023 · 9 comments
Labels
Category:Enhancement Add new functionality

Comments

@wkloucek
Copy link
Contributor

wkloucek commented Mar 9, 2023

Feature Request

Currently the OIDC post_logout_redirect_uri is not configurable.

https://github.com/owncloud/web/blob/c77a531e52f0f16292fb37f76b9596b9bcbdf58a/packages/web-runtime/src/services/auth/userManager.ts#L48

As an admin I want the user to redirect to another site than ownCloud Web after logout.

@JammingBen JammingBen added the Category:Enhancement Add new functionality label Mar 9, 2023
@kulmann
Copy link
Member

kulmann commented Jun 7, 2023

This should already be possible. The / post logout redirect uri is only the default. The oidc config from the config.json gets merged into that object. Please try to add post_logout_redirect_uri: 'whatever-url-you-want' to the openIdConnect object in the config.json.

@wkloucek
Copy link
Contributor Author

wkloucek commented Jun 7, 2023

I cannot have a freeform config.json, because I use oCIS Web service configuration options: https://owncloud.dev/services/web/configuration/

They do not include a config option right now, right? So this would be basically a FR for adding it there!?

@kulmann
Copy link
Member

kulmann commented Jun 7, 2023

I cannot have a freeform config.json, because I use oCIS Web service configuration options: https://owncloud.dev/services/web/configuration/

They do not include a config option right now, right? So this would be basically a FR for adding it there!?

Urghs. Yes, needs to be added to ocis web config then.

@wkloucek
Copy link
Contributor Author

Urghs. Yes, needs to be added to ocis web config then.

Should we move this to the oCIS issue tracker then?

@kulmann kulmann transferred this issue from owncloud/web Jun 15, 2023
@wkloucek
Copy link
Contributor Author

@micbar is this something we could consider for the next 3.1.0-next.3 release? It should be pretty small :-)

@micbar
Copy link
Contributor

micbar commented Jun 21, 2023

Which should be the default value?

@kulmann
Copy link
Member

kulmann commented Jun 21, 2023

Which should be the default value?

Can you omit the option if not set? Meaning: no default? Web has a sensible default value.

@micbar
Copy link
Contributor

micbar commented Jun 22, 2023

Yes, that is possible.

@wkloucek
Copy link
Contributor Author

oCIS now has WEB_OIDC_POST_LOGOUT_REDIRECT_URI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Enhancement Add new functionality
Projects
None yet
Development

No branches or pull requests

4 participants