Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support host based routing #5

Open
wants to merge 5 commits into
base: arista-2
Choose a base branch
from
Open

Support host based routing #5

wants to merge 5 commits into from

Conversation

asetty
Copy link
Collaborator

@asetty asetty commented Dec 9, 2020

same changes to functionality as #3
rebased on arrikto/oidc-authservice master branch.

@asetty asetty force-pushed the rebasing branch 2 times, most recently from 8f7f70d to 4cdbc9d Compare December 14, 2020 17:36
@asetty asetty force-pushed the rebasing branch 11 times, most recently from a94aadb to 6f33e5a Compare December 23, 2020 00:38
@asetty asetty force-pushed the rebasing branch 2 times, most recently from 221de8d to 848c17f Compare December 30, 2020 04:03
Allow the user to customize the Domain attribute for user
session / cookie.

By default the value is "" and will default to the URL used by the
oidc provider when making the request to the callback.

Signed-off-by: Adam Setters <[email protected]>
Create StateFunc type with relativeURL + schemeAndHost strategies for
forwarding requests. The value of SESSION_DOMAIN is used to pick the
strategy. If SESSION_DOMAIN is set then AuthService will be able to
serve requests for all subdomains of SESSION_DOMAIN and the host + path
of the request will be used when saving the oidc state for the request.

This commit adds 1 new env var:
* SCHEME_DEFAULT - default request schem (default: https)

Signed-off-by: Adam Setters <[email protected]>
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