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

Add post_logout_redirect_uri to SDK configs #46

Closed
JakeLo123 opened this issue Apr 2, 2024 · 3 comments
Closed

Add post_logout_redirect_uri to SDK configs #46

JakeLo123 opened this issue Apr 2, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request SDK Core relating to the framework-agnostic core of the SDKs

Comments

@JakeLo123
Copy link
Collaborator

Add post_logout_redirect_uri to SDK configs

Problem

It appears that the hosted FA logout endpoint supports a post_logout_redirect_uri parameter, although the SDKs don't expose it to their configs.

Solution

This could be a useful feature. It would be quite easy to implement, especially after #45 extracts the url tools to the core package.

Alternatives/workarounds

Don't add this feature.

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

@JakeLo123 JakeLo123 added enhancement New feature or request SDK Core relating to the framework-agnostic core of the SDKs labels Apr 2, 2024
@BriDavidson BriDavidson self-assigned this May 6, 2024
@zaalbarxx
Copy link

Today I stumbled upon this. As far as I understand this would allow to add configuration option when initializing the SDK which in turn would set the configured logout redirect URL in post_logout_redirect_uri (right now logout will redirect to redirect_uri) ?.
Because right now we have to handle both login and logout actions using single route/endpoint, correct ?

@JakeLo123
Copy link
Collaborator Author

Today I stumbled upon this. As far as I understand this would allow to add configuration option when initializing the SDK which in turn would set the configured logout redirect URL in post_logout_redirect_uri (right now logout will redirect to redirect_uri) ?. Because right now we have to handle both login and logout actions using single route/endpoint, correct ?

That is correct. This is an OIDC standard that fusionauth is compatible with. The SDKs just don't have an API that exposes it yet.

@JakeLo123
Copy link
Collaborator Author

Closing - #103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SDK Core relating to the framework-agnostic core of the SDKs
Projects
None yet
Development

No branches or pull requests

3 participants