ExtensionEngine / tailor

Content authoring platform
MIT License
31 stars 10 forks source link

Move JWT to cookie #689

Closed kronicker closed 3 years ago

kronicker commented 3 years ago

This PR:

Subtask of #632.

QA Note: (cc @kjuej @markolovric)

Full regression focused on authentication would be preferable since this is impacting authentication on the whole platform. N.B.: For this to work properly locally please make sure that your .env values are set to

HOSTNAME=localhost
PROTOCOL=http

Also, please test with both scenarios - setting (new) AUTH_JWT_COOKIE_SECRET env value to any string or leaving it empty (this will make cookies signed or unsigned respectively).

underscope commented 3 years ago

@kjuej Please take a look