Universal login page if goes behind another app, there is no way to get it forward and the user gets confused.
Checklist
- [X] I have looked into the README and have not found a suitable solution or answer.
- [X] I have looked into the API documentation and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
I am using the auth0 SDK in a macOS app (swift). I am using the Universal Login. The login page shows up in Safari or Chrome whatever the default browser is. The user clicks on another app and the Login window goes back. If several other apps are open, It is lost beneath other apps.
Now from the main app that invoked this universal login page there is no way to make it topmost or bring it to front. A new session cannot be started until that opened page is closed.
There should be a way to handle this.
Describe the ideal solution
There should be a way to programmatically end the current session and close the opened Universal Login page so that a new session can be started.
Alternatives and current workarounds
No response
Additional context
No response
Another issue is that the universal Login Page does not open up on Catalina. I have read some older issues and it was suggested that the issue was related to ASWebAuthenticationSession and it was fixed by Apple in macOS 12.4 So, does that mean the auth0 SDK for macOs wont work on Catalina?
Hi @manishjain999, thanks for raising this and apologies for the delay.
I'm afraid that the behavior you mention is outside of the control of the SDK –it's up to ASWebAuthenticationSession, and therefore macOS.
does that mean the auth0 SDK for macOs wont work on Catalina?
It should work with this change , but it's still unreleased. I'm a bit busy at the moment, but I'll try to put out a new release as soon as I can.
It should work with https://github.com/auth0/Auth0.swift/pull/735, but it's still unreleased. I'm a bit busy at the moment, but I'll try to put out a new release as soon as I can.
The new release is out now: https://github.com/auth0/Auth0.swift/releases/tag/2.3.2