i18n - Error on redirects
So i need to find a configuration that always redirect the user to {locale}/path.
Currently it redirects to /path which results in a 404 since i18n module requires the locale.
Under normal circumstances this wouldnt be needed - i18n is configured to always redirect to a locale, however i dont have very clear why it redirects the user to /path when the user is already log in.
It is likely a problem between the interaction of different modules since i have supabase auth module and i18n installed.
Figured out i need some additional middleware that guarantees the user will always default to /locale/path every time it tries to visit /path.
What is this configuration at i18n? are other people experiencing similar problems?
Currently it redirects to /path which results in a 404 since i18n module requires the locale.
Under normal circumstances this wouldnt be needed - i18n is configured to always redirect to a locale, however i dont have very clear why it redirects the user to /path when the user is already log in.
It is likely a problem between the interaction of different modules since i have supabase auth module and i18n installed.
Figured out i need some additional middleware that guarantees the user will always default to /locale/path every time it tries to visit /path.
What is this configuration at i18n? are other people experiencing similar problems?