• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • About
  • Life
  • Tech
  • Travel
  • Work
  • Questions
  • Contact

Welcome

.

Firebase Auth Email Link Sign In Broken

April 10, 2020 by

Questions › Firebase Auth Email Link Sign In Broken
0
Vote Up
Vote Down
Garmaine asked 4 years ago

I've got a problem with the setup of my firebase account that I need some help with and I'm starting to think this may be a bug. Here's the background on my setup:

  • Currently using the following auth methods: email/password, email link, google oauth.
  • I have my email/password email templates (resest pw, verify email, confirm email change)set up in firebase to use a custom domain, lets call it user.mydomain.com
  • At user.mydomain.com I have a custom app using the firebase js sdk to custom handle the email actions. This is all working great, no problem there.

Here's where it goes wrong:

Prior to setting up the custom domain for my email/pw emails, the email sign in link used the standard firebase app url as the dynamic link and this all worked fine. Now after setting up firebase auth to send the password reset emails through my custom domain, it is also sending the sign in link through this same domain. Because fo this, the sign in link will not function because it does not go to the correct dynamic link to apply the action code and follow on the to continueUrl to finish log in. This seems like a bug because if firebase is confirgured like this, then this should never work once you config a custom domain.

What I've tried:

I've tried seting up a dynamic link in the firebase console (mydomain.page.link) and hardcoding the front end to send through this link when sending the sign in link. However, it always send with the user.mydomain.com suffix vice the mydomain.page.link suffix.

I've also tried to handle the action code at the user.mydomain.com app using firebase.auth().applyActionCode(oobCode). However this invalidates the link everytime and it doesnt seem like there is a way in the firebase js sdk to handle the 'signIn' action.

Has anyone dealt with this? Is there a way I can force just the email sign in links to not use the custom domain? If not, is there a way I can just handle the action code correctly in user.mydomain.app then send the user to the main app?

Any help would be great. Thanks.

Are you looking for the answer?
Original Question and Possible Answers can be found on `http://stackoverflow.com`

Question Tags: firebase, firebase-authentication, javascript

Please login or Register to submit your answer




Primary Sidebar

Tags

Advancements best Business strategies commercial convenience economic Finances Cognitive decline Financial growth firm Future Hidden Gems Home hydration Impact Innovations lighting line of work Mental health Must-See New York City office patronage Productivity profession Profitability tips Profit optimization pursuit recreation Revenue enhancement romance sippy cups social station Technological breakthroughs technology toddlers trading transaction Treasures Uncover undertaking Well-being Wonders Work Young onset dementia

Newsletter

Complete the form below, and we'll send you all the latest news.

Footer

Footer Funnies

Who knew that reading the footer could be such a hilarious adventure? As we navigate websites, books, and documents, we often stumble upon the unassuming space at the bottom, only to discover a treasure trove of amusement. In this side-splitting compilation, we present 100 jokes that celebrate the unsung hero of content – the footer. Get ready to chuckle, giggle, and maybe even snort as we dive into the world of footnotes, disclaimers, and hidden comedic gems. Brace yourself for a wild ride through the footer!

Recent

  • Unveiling the Enigma: Almost-Magical Lamp Lights Highway Turns
  • The Impact of Young Onset Dementia on Employment and Finances: Optimizing Post-Diagnostic Approaches
  • 11 Wonders of 2023 Technological Breakthrough – Unveiling the Future
  • Work from Home and Stay Mentally Sane – Achieve Productivity and Well-being
  • Hidden Gems of New York City – Uncover the Must-See Treasures!

Search

Tags

Advancements best Business strategies commercial convenience economic Finances Cognitive decline Financial growth firm Future Hidden Gems Home hydration Impact Innovations lighting line of work Mental health Must-See New York City office patronage Productivity profession Profitability tips Profit optimization pursuit recreation Revenue enhancement romance sippy cups social station Technological breakthroughs technology toddlers trading transaction Treasures Uncover undertaking Well-being Wonders Work Young onset dementia

Copyright © 2023