OAuth is not persisted after app restart
See original GitHub issue✅ Prerequisites
- Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
- Are you running the latest SDK version?
- Are you reporting to the correct repository (
magic-sdk
)?
🐛 Description
m.user.isLoggedIn()
returns false
after successful social log in (Google in my case) and app restart.
🧩 Steps to Reproduce
- Log in using
m.oauth.loginWithPopup({ provider: 'google', redirectURI: REDIRECT_URI })
- Restart the app
- Call
m.user.isLoggedIn()
🤔 Expected behavior
m.user.isLoggedIn()
returns true
😮 Actual behavior
m.user.isLoggedIn()
returns false
🌎 Environment
Software | Version(s) |
---|---|
magic-sdk |
8.1.0 |
Browser | |
yarn |
1.22.10 |
Operating System | macOS 12.1, iPhone simulator with iOS 15.2 |
Issue Analytics
- State:
- Created 2 years ago
- Comments:29 (13 by maintainers)
Top Results From Across the Web
Google Oauth not sign-in not working even after app is verified
1 Answer 1. Sorted by: Reset to default. Highest score (default) ...
Read more >OAuth 2.0 stops working after resetting my password
My authorization call uses grant_type=password, I pass in all the correct user information, security token, client id, and client secret.
Read more >Embedded app cannot complete OAuth process, and custom ...
Issue summary App authentication broken after updating to the "new" way of authenticating embedded apps, according to the Shopify tutorial ...
Read more >OAuth Troubleshooting Guide | Atlassian Support
Common OAuth errors with application links. Unrecognized OAuth consumer key; OAuth signature rejected; The system clocks are not synchronized ...
Read more >Change Snowflake OAuth to Saved Credentials - Tableau Help
No Tableau Server restart is required for the configurations to take effect. Important: Existing OAuth credentials established before the custom OAuth ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Appreciate the update – looking forward to a resolution. Thanks
Hey @pkayfire, I apologize for the misinformation. As promised, we aim to have this problem resolved by the end of this week. The PR is under review, and it’s been our top priority. I’ll notify you once it’s been released to prod. Thank you for your patience!