Answer the question
In order to leave comments, you need to log in
How to authorize an SSR application?
How to implement authorization in an SSR application? Interested in applications such as Nuxt or next (preferably the first).
1. How to do everything yourself, i.e. on your hosting? What authentication order is needed, what packages to use, are there any starter kits, best practices?
2. What third party services are there besides Auth0?
3. What are the features of such authorization in general (fine settings, etc.)?
The following algorithm is desirable: email input - link verification - end of authorization, password. Google/Facebook will also do.
Answer the question
In order to leave comments, you need to log in
1. To begin with, you don't need to bother with SSR - let the rendering always come from the fact that the user is not authorized. Everything else can be loaded on the client if necessary.
What kind of authentication is needed- a rather strange question, since it's up to you depending on what the conditions of the task are :) Assuming that you need to find out what options there are, I can say that in general there are 2 of them - a standard history for sites with cookies and sessions or receiving token and further authorization on it, that is, a standard history for any REST API.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question