Skip to content

Conversation

@mjiderhamn
Copy link

The current implementation has support for reading the auth info from a cookie (named in X-CookieName). This PR adds the ability to also set the value of that same cookie upon successful authentication.

In order to make use of this feature, the following should be added to the Nginx config, in addition to auth_request

  auth_request_set $saved_set_cookie $upstream_http_set_cookie;
  add_header Set-Cookie $saved_set_cookie;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant