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

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

Open
6 tasks done
Kaur-Pushpinder opened this issue Jul 9, 2024 · 7 comments
Open
6 tasks done
Labels
bug This points to a verified bug in the code

Comments

@Kaur-Pushpinder
Copy link

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

@Kaur-Pushpinder Kaur-Pushpinder added the bug This points to a verified bug in the code label Jul 9, 2024
@desusai7
Copy link
Contributor

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
Copy link
Author

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

@Kaur-Pushpinder
Copy link
Author

@desusai7 any update on this?

@Vaidios
Copy link

Vaidios commented Sep 5, 2024

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?

@theolampert
Copy link

@desusai7 Could you let us know if this is something your team is aware of an looking into?

@desusai7
Copy link
Contributor

Hi @theolampert, @Vaidios,

Thank you for sharing more details on the issue and raising a PR to address this, we will look into it and get back to you !

@theolampert
Copy link

@desusai7 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

4 participants