auth0 / Auth0.swift

Auth0 SDK for Apple platforms
https://auth0.github.io/Auth0.swift
MIT License
333 stars 221 forks source link

Getting "No credentials were found in the store." on production app #862

Open Kaur-Pushpinder opened 1 month ago

Kaur-Pushpinder commented 1 month ago

Checklist

Description

This issue is randomly reproduced while renewing the token.

Reproduction

This issue is randomly reproduced while renewing the token. IMG_0958

Additional context

No response

Auth0.swift version

2.7.2

Platform

iOS

Platform version(s)

17+

Xcode version

15.3

Package manager

Cocoapods

desusai7 commented 1 month ago

Hi @Kaur-Pushpinder,

Can you help us with the steps to reproduce ?

And is the issue #863 also opened by someone from your team ?

Kaur-Pushpinder commented 1 month ago

@desusai7 this is a random issue, there are no specific steps. just one info it is coming in renewAuth.

Kaur-Pushpinder commented 2 weeks ago

@desusai7 any update on this?

Vaidios commented 1 day ago

I am also experiencing similar issue, though I've been able to determine that in my case it breaks on NSKeyedUnarchiver

[path/ios.app]"
)}" UserInfo={NSDebugDescription=value for key 'root' was of unexpected class 'A0Credentials' (0x105529ff8) [/path/ios.app/Frameworks/Auth0.framework].
Allowed classes are:
 {(
    "'A0Credentials' (0x101562e50) [path/ios.app]"
)}}

Is there any particular reason why NSKeyedUnarchiver is used instead of Swift's JSONDecoder?