-
Notifications
You must be signed in to change notification settings - Fork 224
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
Auth0.webAuth() doesn't work during migration from iOS to VisionOS platform #823
Comments
Hi @DanilRostov, thanks for raising this. The SDK does not yet support VisionOS. Unfortunately, I don't have any news to share ATM regarding future plans around this.
|
Very interested in visionOS support as well for our app. |
We're also very interested in VisionOS support. We love Auth0 and are using it for our MacOS and iOS apps! Would love to also use it for VisionOS. Thanks for all the great work! |
Not sure why Auth0 didn't just update this library as compatible for visionOS way back in June 2023 (maybe there's a staffing issue inside the company?). Anyway, the library works just fine on visionOS once you update the Swift library to 5.9 and add in visionOS flags in this and the SimpleKeychain repositories. I have a fork that fixes things for the Swift Package Manager. I ignored the Cocoapods or Carthage stuff and got rid of the XCTest targets that aren't necessary. Note: Just use this as a reference to get things up and running in your project. |
@thefaj this is great! I'll check out your fork. Thanks! FWIW I contacted Auth0 on X and asked them to share this thread w/ their engineering team and they said that they would. |
@cgcardona Awesome! And good luck with your visionOS work! 🥽 It looks like Apple WWDR reached out to Auth0 in December to get visionOS support added, but Auth0 marked the request as invalid: #818 |
Hi @thefaj,
The visionOS SDK only became stable last month with the release of Xcode 15.2. We can't add support for the non-stable SDK of a new Apple platform, as things are bound to change. For example, at first
That requires Xcode 15+; but as of today it's still possible to upload to the App Store apps built with Xcode 14. And that will be the case until the last days of April. So we can't drop support for Xcode 14 just yet, as per our support policy.
We need to ensure to support Carthage and Cocoapods as well, and we can't simply remove the entire test target from
That issue was created by an anonymous account with no activity and, as such, was not taken seriously. Thanks for your patience on this. |
@Widcket Thanks for making this a priority. |
Hi @Widcket , any update on this? |
Hello @Widcket , any update on this please or timeline on when it will be supported? Thanks! |
fortunately the sdk is open source, so we’re shipping with my branch on visionOS. The lack of communication from Auth0 is disturbing, however. I’ve filed a complaint against this sdk with Auth0 internal support but of course got no response. We’re exploring alternatives in case this is a sign that Auth0/Okta as a company is in decline. (Their customer support certainly is non existent.) |
Dear Community, I'd like to extend my apologies for the recent lack of communication and support regarding our SDK. The SDKs team recently underwent restructuring, which impacted our ability to respond promptly. However, I want to assure you that the new team is actively addressing these issues. I will personally ensure that clear timelines and updates are provided by the end of next week. Thank you for your patience and valuable feedback. |
@thefaj @kkarimz @NumaNumaNuma thank you so much for your patience here! I'm Bharath from the Auth0 product team. In the upcoming weeks, we are planning to address all open issues across our portfolio of SDKs. We also have some exciting new releases coming up this quarter. We will report back with timelines and updates on this issue by next week :) |
Hi everyone, We really appreciate your patience. We’ve discussed this internally, and as promised, I’m excited to share information about our timelines. We are planning to release visionOS support by mid-June. Thank you for your understanding and support! |
Hi @desusai7, |
Hi @cgomez-rb, We have hit some blockers and there is a slight delay in the release, we are expecting it to be released by next week |
Hi @cgomez-rb, @thefaj, @NumaNumaNuma, @cgcardona, @DanilRostov, We're excited to announce that we've just released visionOS support as part of version 2.9.0-beta.0. Please try it out and let us know if you encounter any issues. If all goes well with the beta, we plan to include this feature in a standard release in two weeks. Please note that we have dropped support for Thank you all for your support and patience as we work on this feature. |
Hello @cgomez-rb, @thefaj, @NumaNumaNuma, @cgcardona, @DanilRostov, and all our wonderful community members, Have you had the chance to try this out? We'd love to hear any feedback you might have! We're excited to announce that we plan to include this in the standard version in the next two weeks. Looking forward to your thoughts on this! |
@desusai7 Hi, sorry for the late response but started working until now for our visionOS app integration. |
@cgomez-rb, Can you please share the code snippet you are using for WebAuth ? And can you please elaborate more on what do you mean when you mentioned main website instead of login one ? Were you testing on simulator ? |
@desusai7 Good morning. Actually I made it work yesterday night. I was missing the callback URL and logout URL for visionOS... as soon as I added those in the Auth0 dashboard, everything seems to work fine. Thanks any way. 😄
|
@cgomez-rb, awesome, great to hear that ! @thefaj, @NumaNumaNuma, @cgcardona, @DanilRostov, Have you had the chance to test it out ? |
@desusai7, apologies for the delayed response. I appreciate the considerable attention my issue has received from both parties: community and Auth0 support team. In January, I had to address an authentication feature and opted to utilize another vendor for that part of my app. However, I am happy to see that support for VisionOS continues to expand as both the community and platform grow. I plan to dedicate a few hours to exploring the newly added support and will share my feedback accordingly. |
Closing this for now as we had released support for visionOS within version |
Checklist
Description
Hi Auth0 team. Thank you for the great product! I have iOS application that I'm migration to VisionOS platform. I have auth0 in iOS app and that works just fine. I use webAuth() method and during migration to VisionOS I got the next error: "Module 'Auth0' has no member named 'webAuth'". I discovered the source code a little bit and found the next condition in "Auth0" file that are not passing: #if WEB_AUTH_PLATFORM. That should be the root cause why error occues on compilation stage. I tried to apply the flag "-DWEB_AUTH_PLATFORM" to "Swift Compiler - Custom Flags", but it didn't help. Are there any tweaks that I can apply to my project and make it work? What would be the recomended approach for VisionOS platform?
I would be happy if someone provide any relevant information. Thank you!
Reproduction
Additional context
No response
Auth0.swift version
2.5.0
Platform
iOS
Platform version(s)
17.2
Xcode version
15.1
Package manager
Swift Package Manager
The text was updated successfully, but these errors were encountered: