Whenever configuration is invalid, app crashes #884
Labels
bug
This points to a verified bug in the code
waiting for customer
This issue is waiting for a response from the issue or PR author
Checklist
Description
Because of the force unwrapping of the
rsaPublicKey
if any field in theJWK
is invalid, thefunc verify(
of theJWTAlgorithm
crashes the app because of this lineWould it be possible to just have an early exit and return false?
Reproduction
Try to login with a wrong configuration, app crashes every time
Additional context
No response
Auth0.swift version
2.10.0
Platform
iOS
Platform version(s)
iOS 18.0
Xcode version
16.0
Package manager
Swift Package Manager
The text was updated successfully, but these errors were encountered: