Add env var to selectively disable Rocket auth #25

Closed
opened 2021-11-15 07:42:58 +00:00 by glyph · 1 comment
Owner

We need a simple way of deactivating authentication for testing and development.

Add a DISABLE_ROCKET_AUTH environment variable and check it in the Request guard. If the value is false or unset, setup auth like normal; if the value is true, setup the Request guard without auth.

Add clear docs and logging.

We need a simple way of deactivating authentication for testing and development. Add a `DISABLE_ROCKET_AUTH` environment variable and check it in the `Request` guard. If the value is `false` or unset, setup auth like normal; if the value is `true`, setup the `Request` guard without auth. Add clear docs and logging.
glyph added the
enhancement
peach-web
labels 2021-11-15 07:42:58 +00:00
Author
Owner

Addressed in PR#36.

Addressed in [PR#36](https://git.coopcloud.tech/PeachCloud/peach-workspace/pulls/36).
glyph closed this issue 2021-11-25 12:07:33 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PeachCloud/peach-workspace#25
No description provided.