We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I'm seeing an unexpected crash inside AppAuthCore when the module that calls into AppAuth is in Swift 6 mode. Setting
swiftSettings: [ .swiftLanguageMode(.v5), ]
makes the crash go away.
To Reproduce Steps to reproduce the behavior:
let request = OIDAuthorizationRequest( configuration: config, clientId:clientId, scopes: nil, redirectURL: URL(string: redirectUri)!, responseType: OIDResponseTypeCode, additionalParameters: nil ) OIDAuthState.authState( byPresenting: request, presenting: NSApp.keyWindow ?? NSWindow() ) { authState, error in ... }
then dismiss Safari and get an EXC_BREAKPOINT crash on the line callback(nil, authorizationError); in OIDAuthState.m
EXC_BREAKPOINT
callback(nil, authorizationError);
Expected behavior The Swift 5 behaviour: The same library line is still hit, but no crash occurs
Environment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I'm seeing an unexpected crash inside AppAuthCore when the module that calls into AppAuth is in Swift 6 mode.
Setting
makes the crash go away.
To Reproduce
Steps to reproduce the behavior:
then dismiss Safari and get an
EXC_BREAKPOINT
crash on the linecallback(nil, authorizationError);
in OIDAuthState.mExpected behavior
The Swift 5 behaviour: The same library line is still hit, but no crash occurs
Environment
The text was updated successfully, but these errors were encountered: