Replies: 1 comment 2 replies
-
Remix is not opinionated. You are free to architect your app in whatever way makes sense. If there was a "Remix" way, I suppose that it encourages doing as much as possible on the server. |
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
-
Seems remix services rely on http session for authentication. If I have multiple instances, I can set up a radius cache to store the session data so that the remix services can be stateless. But this approach looks old school. Manage the cache is not flexible and not street forward. Using a token is a better idea as the token is signed and the auth info can be carried in the request rather than managing them in data store. I am not sure if there are good practice to apply token approach in remix.
Another thing of cookie session is that it is hard to combine multiple micro services into a big app. Every service needs their own auth. So the auth service and resource service cannot be seperated.
Beta Was this translation helpful? Give feedback.
All reactions