remix-run / remix

Build Better Websites. Create modern, resilient user experiences with web fundamentals.
https://remix.run
MIT License
29.81k stars 2.51k forks source link

authentication #50

Closed lukasa1993 closed 2 years ago

lukasa1993 commented 3 years ago

how you guys plan to tackle authentication ? like only authenticated routes ? or how would it handle bearer header?

RoyalIcing commented 3 years ago

I would guess they would advocate to take advantage of the server, and use HTTP-only cookies.

lukasa1993 commented 3 years ago

I would guess they would advocate to take advantage of the server, and use HTTP-only cookies.

that wont be to good, in that case putting express app behind api gateway wont be natural so i certainly hope it wont be like that

machour commented 2 years ago

There is now an example at https://remix.run/docs/en/v1/tutorials/jokes#authentication