Google auth issue
Options
George
Member ✭
Hi there!
My users registered with Gmail email. The user.google_oauth.id value is empty, but the email was used for registration. I want to allow those users who used gmail mail without google auth to login with it. When I tested Xano Google auth APIs I got error "Duplicate record detected. Please check your input and try again."
How can i do this?
Tagged:
Best Answer
-
Hi @George - you would need to implement logic that essentially checks for the existence of the user based on that email - if it exists then edit that record with the google oauth object information. If not then add the record. The Add or Edit record functionality might come in handy in this specific case
Answers
-
Thank you @Michael Udinski
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback