-
Notifications
You must be signed in to change notification settings - Fork 198
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
Calling Auth.SignInWithWebUI results in nothing happening #3888
Comments
Hi @januaryblues, thanks for opening this issue. We will attempt to reproduce it and post any updates in here. In the meantime, could you please share the verbose logs when you call Amplify.Logging.logLevel = .verbose |
Thanks @ruisebas for the speedy response. Here is the verbose logs (with some sensitive stuff redacted from the URL in the final log message):
|
Ok, I have this working now. It looks like it was my fault, I had the WebDomain property slightly wrong. So the problem was mine. I guess some more helpful feedback from Amplify would be useful, rather than just not have the WebUI appear. But other than that I think my problem is solved. Thanks for the help! :) |
Hi @januaryblues! I was just about to comment that based on the last log:
there was probably something wrong in your redirect URL. I'm happy to hear that was indeed the issue and that now everything works for you, and I apologize for not coming back to you sooner. You're right that the lack of an error being thrown is something we need to address in our side, so we'll keep this issue open to track that work and to post further updates. Thanks! |
Please use the latest version, a fix for better error handling has been released. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
I have created a minimal swift app to test federated log in with Amplify. I have created a button that calls the Amplify.Auth.signInWithWebUI method. When I click the button, the method is successfully called, but no Web UI appears on the screen and no error is thrown - there appears to be no side affect to calling the method at all
Steps To Reproduce
Minimal example:
Main app:
ContentView:
amplifyconfiguration.json:
Expected behavior
WebUI to appear on screen
Amplify Framework Version
2.42.1
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
6.0
CLI version
None
Xcode version
16.0
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
iOS 18.0
Device
iPhone 14 Pro Max
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: