-
Notifications
You must be signed in to change notification settings - Fork 20
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
SessionTokenFlow 'start' function error #135
Comments
The JWTError.invalidKey error is thrown when the ID token returned doesn't match the key signature from the authorization server. For example, if the A bug was fixed in version 1.3.1 that caused a problem when loading the key set from the authorization sever, so if you wouldn't mind trying that version out to see if it fixes your problem, I'd greatly appreciate it. If your problem persists, we could try to troubleshoot the problem further. |
I'm going to close this ticket since we haven't heard back, but if you're still experiencing this problem, please feel free to reopen it. |
@mikenachbaur-okta, we are experiencing this issue again. We've added an informative message for the user when this error occurs, but we've been checking for the error type assuming it's an object of the OktaError type. It appears that a non-OktaError object is arriving instead |
@ntorrescodigodelsur I've reopened the ticket, since you're still experiencing this problem. There are three places where this error may occur:
Unfortunately it's not clear which code path this error is being thrown from, though there are two likely possibilities:
Hopefully this can help to narrow the problem down. Please let me know if you're able to find out more, and I'd be happy to help figure this out. |
I am also running into this issue, but on a forked branch. I have found this error to not actually be returning from |
Describe the bug?
We are using the SessionTokenFlow to sign-in users into our app, which includes an SMS verification feature. When invoking the start function of the SessionTokenFlow, we encounter an "Invalid key data" error, even if we force a call to Credential.default?.remove() beforehand. This issue is peculiar because it is not specific to any user; rather, it is related to certain devices. We observe that signing in works on some devices but not on others. The only solution we have discovered so far is to uninstall the app and reinstall it.
The sessionToken parameter that we are using is the one that we receive in the OktaAuthStatusSuccess object and it’s correctly formed.
What is expected to happen?
start
function return success with a valid Okta TokenWhat is the actual behavior?
start
function is returning "Invalid key data"Reproduction Steps?
Install the app and try to sign-in
Additional Information?
No response
SDK Version(s)
1.3.0
Build Information
No response
The text was updated successfully, but these errors were encountered: