Replies: 1 comment
-
|
Lol, 2 years later and literally zero answers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Both next-i18n-router (and all other i18n packages I've investigated) and supabase authentication require you to create a middleware which returns a response, that is then sent back to the client.
These two middlewares work correctly on their own:
i18n:
supabase:
These middlewares seem to assume there will be never another middleware which creates a response. They should at least take a response as a parameter.
How is it possible to make this work correctly?
Beta Was this translation helpful? Give feedback.
All reactions