#Firebase App Hosting and auth: /__/auth/handler problem

4 messages · Page 1 of 1 (latest)

tepid ledge
#

So not clear if this is my responsibility or that of Firebase...

I am hosting my app on Firebase App Hosting (https://jambudipa.io) and when I click on log in with Google, I am sent to https://jambudipa.io/__/auth/handler/.......

This route does not exist, and so I get a 404.

When using standard Firebase hosting, this is configured mostly automatically from what I remember.

Anyone have success with this? I am unclear what to do.

Personal site of a practitioner of the New Kadampa Tradition.

brave sedgeBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

tepid ledge
#

So I have it partially working, with this config:```onst nextConfig: NextConfig = {
output: 'standalone',
async rewrites() {
return [
{
source: '//auth/handler',
destination: '/auth/callback'
},
{
source: '/
/auth/iframe',
destination: '/auth/iframe-custom'
}
];
}
};

#

The auth callback page is working fine, but I have just discovered this iframe and I have no idea what it would ordinary do. I have just created a dummy component that does basically nothing, so we shall see...