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

Fix Asgardeo Java OIDC app redirection Issue #34

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

ChanikaRuchini
Copy link
Contributor

@ChanikaRuchini ChanikaRuchini commented Mar 21, 2022

Purpose

Resolves

With this fix

  1. Add support for the target page redirection.
    If a user tries to access another secured page (eg: app/myApp) without having an authenticated session with the IdP, the user is first prompted for authentication. Then upon successful authentication, the user is redirected to the original page he tried to access.

  2. Improve the SDK to add a redirection page as a new configurable oidc app property. Then the customer can add his custom home page by configuring the property homePage. when the application admin has configured this property, the user will always be redirected to the $homePage upon successful authentication regardless of which secured page the user tries to access.

Merge after asgardeo/asgardeo-java-oidc-sdk#40

@ChanikaRuchini ChanikaRuchini merged commit cd80121 into asgardeo:master Mar 22, 2022
@ChanikaRuchini ChanikaRuchini mentioned this pull request Mar 24, 2022
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.

3 participants