-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Case Sensitive URL Check Prevents Successful Redirect with openAuth
on Android
#429
Comments
Ariflo
changed the title
Check For
Mismatching Cases prevents successful redirect with Jul 18, 2023
event.url.startsWith(returnUrl)
prevents successful redirect with openAuth
openAuth
Ariflo
changed the title
Mismatching Cases prevents successful redirect with
Mis-matching Letter Case prevents successful redirect with Jul 18, 2023
openAuth
openAuth
Ariflo
changed the title
Mis-matching Letter Case prevents successful redirect with
Mismatching Letter Case Prevents Successful Redirect with Jul 18, 2023
openAuth
openAuth
Ariflo
changed the title
Mismatching Letter Case Prevents Successful Redirect with
Mismatching Letter Case Prevents Successful Redirect with Jul 18, 2023
openAuth
openAuth
on Android
Ariflo
changed the title
Mismatching Letter Case Prevents Successful Redirect with
Case Sensitive URL Check Prevents Successful Redirect with Jul 18, 2023
openAuth
on AndroidopenAuth
on Android
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
The check for
event.url.startsWith(returnUrl)
here prevented my OAuth session from successfully completing the redirect on Android. As far as I can tell this was due to the fact that we were passing in the app scheme URL in camel case as a redirect. In other words; "AwseomApp://" !== "awesomeapp://".Suggested fix
Use .toLowerCase() to do a valid equivalent check here.
The text was updated successfully, but these errors were encountered: