Altinn / digdir-assistants

Generative AI assistants
MIT License
3 stars 0 forks source link

Email authentication flow has a redirect loop bug #35

Closed bdb-dd closed 4 months ago

bdb-dd commented 5 months ago

Description of the bug

An unusual bug occurs in Chrome when logging in using the built-in Supabase email authentication provider.

The cookies and local storage values are being correctly set by the auth response handler, but not by the site root.

Simply reloading the site root manually is an easy work around.

Steps To Reproduce

  1. Login with email and password credentials
  2. Wait for redirect to site root.
  3. Confirm redirect loop by checking Network tab in dev tools.

Additional Information

No response

bdb-dd commented 4 months ago

Fixed in PR #40