Debug Your Infrastructure

Get Instant Solutions for Kubernetes, Databases, Docker and more

AWS CloudWatch
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Pod Stuck in CrashLoopBackOff
Database connection timeout
Docker Container won't Start
Kubernetes ingress not working
Redis connection refused
CI/CD pipeline failing

Firebase Auth auth/unauthorized-continue-uri

The continue URL is not authorized.

Understanding Firebase Auth

Firebase Authentication is a comprehensive tool provided by Google Firebase that allows developers to easily implement authentication in their applications. It supports various authentication methods, including email/password, phone numbers, and federated identity providers like Google, Facebook, and Twitter. The primary purpose of Firebase Auth is to simplify the process of managing user authentication and to enhance security in applications.

Identifying the Symptom

When working with Firebase Auth, you might encounter the error code auth/unauthorized-continue-uri. This error typically manifests when a user attempts to redirect to a URL after authentication, and the URL is not authorized in the Firebase console. The symptom is usually a failure to redirect, accompanied by an error message indicating the unauthorized URL.

Explaining the Issue

The error code auth/unauthorized-continue-uri indicates that the continue URL specified in your authentication request is not listed as an authorized domain in your Firebase project's settings. Firebase requires that all redirect URLs be explicitly authorized to prevent unauthorized redirection, which could lead to security vulnerabilities.

Why Authorization is Necessary

Authorizing URLs ensures that only trusted domains can be used for redirection, thereby protecting users from potential phishing attacks or data breaches. This is a crucial security measure in any application handling sensitive user data.

Steps to Fix the Issue

To resolve the auth/unauthorized-continue-uri error, follow these steps:

Step 1: Access Firebase Console

Log in to your Firebase console at https://console.firebase.google.com/. Navigate to your project dashboard.

Step 2: Navigate to Authentication Settings

In the Firebase console, go to the Authentication section. You can find this in the left-hand menu under the Build category.

Step 3: Configure Authorized Domains

Within the Authentication settings, locate the Sign-in method tab. Scroll down to find the Authorized domains section. Here, you can add the domain of the continue URL that you want to authorize.

Step 4: Add the Continue URL

Click the Add domain button and enter the domain of the URL you wish to authorize. Ensure that the domain is correctly formatted and matches the URL used in your authentication requests.

Additional Resources

For more detailed guidance, refer to the official Firebase documentation on redirect best practices. Additionally, you can explore the Firebase Auth user management guide for further insights into managing authentication flows.

By following these steps, you should be able to resolve the auth/unauthorized-continue-uri error and ensure a smooth authentication process in your application.

Master 

Firebase Auth auth/unauthorized-continue-uri

 debugging in Minutes

— Grab the Ultimate Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Real-world configs/examples
Handy troubleshooting shortcuts
Your email is safe with us. No spam, ever.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

🚀 Tired of Noisy Alerts?

Try Doctor Droid — your AI SRE that auto-triages alerts, debugs issues, and finds the root cause for you.

Heading

Your email is safe thing.

Thank you for your Signing Up

Oops! Something went wrong while submitting the form.

MORE ISSUES

Deep Sea Tech Inc. — Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid