You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In testing our project authentication implementation using the AppAuth-iOS package, we have noticed that a redirect url without an authentication code parameter throws and NSException, crashing the app. This behaviour feels incorrect as we can't gracefully handle the situation in an error scenario.
To Reproduce
Steps to reproduce the behavior:
Go to demo implementation where the resource server has an option to return a redirect url with no code query parameter
Tap on option to return a redirect url with no code query parameter
See that app crashes
Expected behavior
We would expect that some kind of NSError would be returned to the authState callback which could then be handled.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Device: [ e.g. iPhone SE (2nd Generation ]
OS: [ iOS 17.2 ]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
In testing our project authentication implementation using the AppAuth-iOS package, we have noticed that a redirect url without an authentication
code
parameter throws and NSException, crashing the app. This behaviour feels incorrect as we can't gracefully handle the situation in an error scenario.To Reproduce
Steps to reproduce the behavior:
code
query parametercode
query parameterExpected behavior
We would expect that some kind of
NSError
would be returned to theauthState
callback which could then be handled.Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: