Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

How-to for using JWT in cookies #208

Open
steve-chavez opened this issue Apr 19, 2019 · 1 comment
Open

How-to for using JWT in cookies #208

steve-chavez opened this issue Apr 19, 2019 · 1 comment
Labels
how-tos Goal oriented guides. Not in depth.

Comments

@steve-chavez
Copy link
Member

Use the snippet in PostgREST/postgrest#773 (comment)

@steve-chavez steve-chavez changed the title Add doc for using JWT in cookies How-to for using JWT in cookies Aug 2, 2019
@steve-chavez steve-chavez added the how-tos Goal oriented guides. Not in depth. label Aug 15, 2019
@mckinlde
Copy link

mckinlde commented Nov 13, 2023

Has there been any more work on this? Is a proxy server still mandatory, or can postgrest be configured to use a cookie header for its JWT?

I am pretty confident I can change the /login endpoint to respond with a set-cookie header to store the JWT; once I've done that how do I ensure the rest of the endpoints in postgrest are checking the cookie header for a JWT?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
how-tos Goal oriented guides. Not in depth.
Development

No branches or pull requests

2 participants