Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Adding AWS ALB-specific header for username #113

Merged
merged 2 commits into from
Feb 1, 2021

Conversation

justnom
Copy link
Contributor

@justnom justnom commented Jan 25, 2021

For people using and AWS ALB auth method, I've added an option for them to set their user auth-user-header to x-amzn-oidc-data.

This does require that decoding and validating a JWT. Thankfully there was a nice package fujiwara/go-amzn-oidc to help with this.

@justnom justnom requested a review from suom1 as a code owner January 25, 2021 16:27
@mihaiplesa
Copy link

Looking forward for this to get in and allow us to see user e-mails in the config for easier revocation.

@suom1 suom1 merged commit 1506db0 into EmbarkStudios:main Feb 1, 2021
@justnom justnom deleted the aws-jwt-auth-compat branch February 1, 2021 15:59
justnom added a commit to justnom/wg-ui that referenced this pull request Feb 3, 2021
* Adding AWS ALB-specific header for username

* Removing redundant header get
justnom added a commit to justnom/wg-ui that referenced this pull request Feb 3, 2021
* Adding AWS ALB-specific header for username

* Removing redundant header get
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants