it is, yes, but the code (or explanation) in the docs doesn't handle them
the `app/auth/callback/route.ts` part for Next.js
here: https://supabase.com/docs/guides/auth/social-login/auth-google?queryGroups=environment&environment=server&queryGroups=framework&framework=nextjs
I added this in the /auth/calback route. The docs should be fixed to handle these errors: ``` // catch social auth errors const error = searchParams.get('error'); if (error) { const errorDescription = searchParams.get('error_description'); return NextResponse.redirect(`${origin}/auth/error?error=${errorDescription || error}`); } ```
which makes no sense
the code is looking for query params, not hashtag
Ah, I see the error is in the url like this: `/auth/error#error=access_denied&error_code=user_banned&error_description=User+is+banned&sb=`