Skip to content

Commit d2c4503

Browse files
committed
README.md updates
1 parent 67dcbef commit d2c4503

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ https://localhost:PORT/__/auth/handler (Development)
5656

5757
The `/__/auth/handler` endpoint is automatically provided by Xams (`app.AddFirebaseAuthProxy()`), implementing [Firebase's redirect best practice Option 3](https://firebase.google.com/docs/auth/web/redirect-best-practices) - proxying auth through your backend. This is **required** for custom domains with Google OAuth.
5858

59+
## Firebase Email Templates
60+
61+
Configure the Firebase email template action URL to redirect to your Xams application:
62+
63+
1. Navigate to **Authentication → Templates** in the Firebase console
64+
2. Select an email template and click **Edit Template**
65+
3. Click **Customize action URL**
66+
4. Set the URL to your application's action handler (e.g., `https://localhost:3000/__/auth/action`)
67+
68+
This URL handles email verification, password reset, and other Firebase authentication actions.
69+
5970
## Test Your Configuration
6071

6172
In Program.cs, with useAuth = true, navigate to the admin dashboard to verify Firebase authentication is working:

0 commit comments

Comments
 (0)