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

oauth2: User/Agent Destination Url #259

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

JediKev
Copy link
Contributor

@JediKev JediKev commented Feb 2, 2023

This addresses an issue reported on the Forum where you click a direct link from an email or something, you hit the login page, you login via OAuth2 SSO, and when you are redirected back you are not presented with the original URL. This is due to not accounting for the destination URL in the onSignIn() methods for the OAuth2 User/Agent backends. This adds a ternary statement that uses the dest URL from the session, otherwise it defaults to the base URL.

This addresses an issue reported on the Forum where you click a direct
link from an email or something, you hit the login page, you login via
OAuth2 SSO, and when you are redirected back you are not presented with
the original URL. This is due to not accounting for the destination URL
in the `onSignIn()` methods for the OAuth2 User/Agent backends. This adds
a ternary statement that uses the dest URL from the session, otherwise
it defaults to the base URL.
@JediKev JediKev merged commit d5bb9a1 into osTicket:develop Mar 7, 2023
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.

1 participant