Replies: 1 comment 2 replies
-
JWT can be used with server side rendering. API key is more for non interactive use cases (automation, ...) than for a specific type of front_end. However I do not know how to handle the case of redirecting to a login page a user that is not logged in with server side rendering. |
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'm using loco with server-side rendering .
I'm stuck with what to do after user login . I have an admin dashboard pages what should only be
accessible to logged users.
Is it correct to think that JSON Web Token (JWT) is for a front-end (json, javascript ) app
and API Key authentication is more suited for a backend serverside using tera?
API Key authentication does it mean I have to create a user entity with login_status and save that and check each time a restricted page is accessed?
thanx :-)
Beta Was this translation helpful? Give feedback.
All reactions