-
Notifications
You must be signed in to change notification settings - Fork 1
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
Klarna not always returns idToken in klarna event handler after successfull Klarna sign in #15
Comments
Hi @mAdutskevich, all sign-in flows will lead to SDK sending you the tokens via the If these actions and errors does not help you, please provide local logs(SDK logging level configuration) or session IDs with us, and we will be able to help you with analyzing those and the logs we have on our side for the session. |
Hi @NMGuner, I checked the explicit errors in my code by try/catch, but haven't catched any. This is my code for android module
This is logs from klarnaSignInSDK: Pixel-6a-API-32-Android-12_2025-01-21_140841.txt Will appreciate any help here |
Klarna event handler doesn't always return idToken after pressing custom Klarna button on Android in v2.6.24, 2.6.25.
Sometimes it returns
KlarnaSignInToken
with the idToken in params, sometimesKlarnaSignInUserAuth
with empty params object, and sometimesKlarnaSignInUserCancelled
.Quite often the event
KlarnaSignInToken
(with idToken) goes right afterKlarnaSignInUserAuth
and It is possible to get the idToken, but sometimes the eventKlarnaSignInToken
is absent(only KlarnaSignInUserAuth appears) and I can't get the idToken. It works in absolutely another way in iOS which always returnklarnaToken
event with idToken.It looks very unstable.
How to always get the id token after succesfull sign in?
Platform: Android
Evnvironments: playground, production
Sdk versions: 2.6.24, 2.6.25
The text was updated successfully, but these errors were encountered: