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

VisionOS issue #417

Closed
djensenius opened this issue Mar 4, 2024 · 5 comments
Closed

VisionOS issue #417

djensenius opened this issue Mar 4, 2024 · 5 comments

Comments

@djensenius
Copy link

I am getting

....../OAuth2/Sources/iOS/OAuth2Authorizer+iOS.swift:41:34 Cannot find type 'OAuth2SFViewControllerDelegate' in scope

with package 5.3.4 when trying to compile with VisionOS.

@ossus-lib
Copy link
Collaborator

Looks like that happened with #416

@ossus-lib
Copy link
Collaborator

Should have been fixed with 5.3.5.

@djensenius
Copy link
Author

Aha, there we go. Unfortunately it's not opening a web view or safari window:

[Debug] OAuth2: Starting authorization
[Debug] OAuth2: No access token, checking if a refresh token is available
[Debug] OAuth2: Error refreshing token: I don't have a refresh token, not trying to refresh
[Debug] OAuth2: Opening authorize URL in system browser: https://REMOVED
[Debug] OAuth2: Cannot open authorize URL

@ossus-lib
Copy link
Collaborator

Have you tried using a ASWebAuthenticationSession, what is preferred anyway?

@djensenius
Copy link
Author

Yep, that's what did it. Thank you!

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

No branches or pull requests

2 participants