Replies: 2 comments 5 replies
-
AuthJS is so bad for i18n :'( can't achieve something working |
Beta Was this translation helpful? Give feedback.
3 replies
-
After some experience, I strongly discourage against using AuthJS, you should consider lucia-auth wich is the best auth service I ever seen yet. You can forge tokens and what you want. Using If you want a simpler auth system use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I know it's a very common question, but I have not been able to found the answer.
Currently I have an app using
[locale]
for most of it's parts. But i still have non translated endpoints, like for API endpoints.In AuthJS, there is no more middleware configuration and most of things are handled by
auth
function.You can override pages that are displayed to user using a
pages
property and by providing a link.The issue is that I'm not sure how to write the correct link, as I don't have access to the locale here.
The only solution i think would be viable is using domain routing. Therefore as its relative link, there is no issue.
Do you have any other idea ?
Beta Was this translation helpful? Give feedback.
All reactions