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

Post login redirect config option #16

Merged
merged 3 commits into from
Apr 22, 2023

Conversation

twestos
Copy link
Contributor

@twestos twestos commented Apr 14, 2023

Problem:
For applications that have a marketing website that sits at the front, or different user types with different sections of the application. There are circumstances where we might want to redirect the user post login to a specific route that handles further checks and redirect logic.

Solution:
Added the KINDE_POST_LOGIN_URL_REDIRECT_URL variable to config that is used in the callback. If the variable is present, we redirect the user to this page. If absent, we redirect to the standard KINDE_SITE_URL route.

@DaveOrDead
Copy link
Member

Hey @twestos thanks for the PR :)

We've had a couple of changes go in that have caused conflicts with your updates. Are you able to resolve?

@DaveOrDead DaveOrDead merged commit 89dd873 into kinde-oss:master Apr 22, 2023
peterphanouvong pushed a commit that referenced this pull request Aug 19, 2024
Post login redirect config option
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.

2 participants