AWS Load Balancer Auth
See original GitHub issueAWS recently added the functionality to authenticate a user on the load balancer and have a authenticated and hydrated user details in the request header.
I wasn’t able to decode the object that comes from the load balancer even though it will decode on jwt.io. The example AWS give is in python but should be straight forward enough to decode the token.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-users.html
Has anyone attempted to decode the x-amzn-oidc-data
header using jwt.decode
?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Authenticate users using an Application Load Balancer
The Application Load Balancer redirects the user with the AWSELB authentication session cookie to the original URI. Because most browsers limit the cookie...
Read more >Simplify Login with Application Load Balancer Built- ... - AWS
Today I'm excited to announce built-in authentication support in Application Load Balancers (ALB). ALB can now securely authenticate users ...
Read more >How to use Application Load Balancer and Amazon ...
How to use Application Load Balancer and Amazon Cognito to authenticate users for your Kubernetes web apps · Authentication using Application ...
Read more >Set Up Application Load Balancer Authentication Using ...
With Application Load Balancer authentication, the Application Load Balancer either confirms that the client is authenticated or prompts the ...
Read more >AuthenticateOidcActionConfig - Elastic Load Balancing
Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@daerion I found a way to make this work, but it’s not pretty…
Basically, the verify method in this library won’t work, but the signature can be verified using the underlying node-jwa library. Then you just have to check things like is the token still valid (I am only checking if token is not expired):
Just ran into the same issue…