Trying to authenticate my entire remix app using OAuth2 #223
Unanswered
Will-Mann-16
asked this question in
Q&A
Replies: 2 comments 3 replies
-
I've looked at doing this as well. Unbelievably, Remix doesn't easily support having authentication in a single location. I'll investigate the Express adapter, since I'm using Nodejs, and also the concept of using wrapped loader and action functions. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Until Remix adds support for middleware, there's no way to setup auth in a single point and protect all routes, so you need to add the call to |
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
-
Hi there, I'm trying to authenticate my entire remix app using a custom OAuth2 strategy I wrote - my question is, can I set it up so that the entire app requires authentication apart from a preset callback / failure endpoint? Anyone tried anything like this? I've been trying to figure out how remix's routing situation works here.
Beta Was this translation helpful? Give feedback.
All reactions