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

Update OAuth2Authorizer+iOS.swift #402

Merged
merged 1 commit into from Feb 8, 2024
Merged

Update OAuth2Authorizer+iOS.swift #402

merged 1 commit into from Feb 8, 2024

Conversation

rushairer
Copy link
Contributor

Update OAuth2Authorizer+iOS.swift
macCatalyst 13.1 need setting presentationContextProvider. If not will get an error:

Printing description of error:
▿ Optional<Error>
  - some : Error Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=2 "Cannot start ASWebAuthenticationSession without providing presentation context. Set presentationContextProvider before calling -start." UserInfo={NSDebugDescription=Cannot start ASWebAuthenticationSession without providing presentation context. Set presentationContextProvider before calling -start.}

Update OAuth2Authorizer+iOS.swift
macCatalyst 13.1 need setting presentationContextProvider.
If not will get an error: 
```
Printing description of error:
▿ Optional<Error>
  - some : Error Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=2 "Cannot start ASWebAuthenticationSession without providing presentation context. Set presentationContextProvider before calling -start." UserInfo={NSDebugDescription=Cannot start ASWebAuthenticationSession without providing presentation context. Set presentationContextProvider before calling -start.}
```
@ossus-lib ossus-lib merged commit 6eb4a72 into p2:master Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants