'How to implement the Client Credentials Grant in AWS ALB

I am trying to implement ALB with OIDC for grant type Client Credentials.

I have given Issuer, Token endpoint, Client ID, and Client Secret, Authorization endpoint and User info endpoint in Listeners tab of ALB

But i get 400 invalid redirect_uri while trying to access the url.



Solution 1:[1]

We explored ALB for client credentials authentication but failed to implement that. After checking with AWS support team, we got confirmation that AWS ALB don't support Client credential authentication mechanism and supports only Authentication code flow.

We switched to AWS API gateway with lambda authoriser to implement client credential flow.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vikas Bansal