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

React Native Android: java.lang.UnsupportedOperationException: This isn't a hierarchical URI. #339

Open
M21x opened this issue Jan 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@M21x
Copy link

M21x commented Jan 5, 2023

Describe the bug?

When signing out of the android application using Okta, the application crashes and this error appears:

java.lang.UnsupportedOperationException: This isn't a hierarchical URI.

I check to ensure the signout redirect URI is correct but the application keeps crashing on signout.

I can sign in just fine as well.

What is expected to happen?

Successful signout with no crash

What is the actual behavior?

Crash on signout.

Error: java.lang.UnsupportedOperationException: This isn't a hierarchical URI.

Reproduction Steps?

Log in to the mobile app using Okta
Navigate to sign out
Sign out of Okta account on the mobile app (where the crash happens)

Additional Information?

No response

SDK Version

2.7.0

Build Information

No response

@M21x M21x added the bug Something isn't working label Jan 5, 2023
@rajdeepnanua-okta
Copy link
Contributor

What is the format of your endSessionRedirectUri? It should be similar to a format like this: "com.mynative.app:/". It should be the same value as "Sign-out redirect URIs" under the configured application in Okta dashboard.

@M21x
Copy link
Author

M21x commented Feb 7, 2023

Yeah I verified and it is, the issue is still happening.

The format is: com.okta.mycompany:/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants