Closed milicaNano closed 1 week ago
Hello, @milicaNano and thanks for creating this issue. The signInWithRedirect
fix should be implemented as of v6.4.3 (as you stated and tried), but just to double check on this... can you make sure you delete your package-lock.json
file, delete your node_modules
directory, and try reinstalling your dependencies with npm install
(or yarn equivalent)? And can you also try to delete your cache by running the following command:
yarn start --reset-cache
If it's still happening after this, can you let us know if this is happening in dev, prod, or both environments as well? Thanks!
Thanks @cwomack. With your detailed steps, seems to be working. We are still conduction tests, as this was not reproducible on all Android devices. I will share feedback soon. Many thanks.
Two days testing on production, and seems to be working. We can close this issue.
Many thanks!
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
Other
Environment information
Describe the bug
Sign in with redirect , with custom provider (Octa), does not redirect to authenticated page in React Native app. On Andorid devices, after you submit Octa credentials, it redirects you again to non-authenticated page and fails to switch to authenticated page. You must click again on button that handles SSO in order to be redirected to authenticated page.
We saw the issue https://github.com/aws-amplify/amplify-js/issues/12926 and we tried with package update : [aws-amplify@6.4.3] but still it doesn't work
This is always working on IOS.
Expected behavior
Clicking on continue with SSO will leave user on third party page After user submits credentials, user will be redirected to authenticated page, not again on login page
Reproduction steps
https://github.com/user-attachments/assets/bcf5cd69-bea5-43ca-b453-23abadbe06c8
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
Additional configuration
No response
Mobile Device
Android Galaxy S24 Ultra
Mobile Operating System
Android version 14
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response