Skip to content

To be able to config a custom logout redirect Uri #1115

@quenenni

Description

@quenenni

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: (see administration page)
v30.0.9

Is your feature request related to a problem? Please describe.
When doing a logout from NC, the post_logout_redirect_uri redirect auto to the cloud login page and I would like to be able to config that Uri.

Describe the solution you'd like
An option in the configuration page where you can set the logout redirect Uri

Additional context
I was able to to this by modifying the file apps/user_oidc/lib/Controller/LoginController.php (line 636):
$endSessionEndpoint .= '?post_logout_redirect_uri=' . $targetUrl;

and replace it with my Uri:
$endSessionEndpoint .= '?post_logout_redirect_uri=https://auth.xxx.coop/';

But, of course, that's not the right way to do it, but it works.

Would it be possible to add an option for this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions