Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

Cookie used to send auth token to front-end after SAML sign-on scoped to wrong domain #116

Closed
ryanhofdotgov opened this issue May 7, 2018 · 0 comments
Assignees

Comments

@ryanhofdotgov
Copy link
Contributor

After successful SAML sign-on, the backend sets a cookie in the redirect response, but the cookie is scoped to the fully-qualified domain name (FQDN) of the frontend. The backend has no authority to do that, and so the browser does not expose the cookie to the frontend on the subsequent request.

I believe that this wasn't caught during the initial development because testing was done using localhost as the FQDN for the frontend and backend.

@ryanhofdotgov ryanhofdotgov self-assigned this May 7, 2018
ryanhofdotgov added a commit that referenced this issue May 10, 2018
Fixes #116 - set cookie domain via COOKIE_DOMAIN
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant