jfwberg / lightweight-oauth-jwt-client-credentials-auth-provider

MIT License
11 stars 3 forks source link

Externalise JWT Header to Auth Provider #1

Open gouravsood opened 1 year ago

gouravsood commented 1 year ago

Thank you for building and sharing this reusable custom authentication provider for the OAuth Client Credential.

I noticed that currently there is not way to provide custom JWT Header on the Auth Provider. Similar to "Additional Token Endpoint Headers", we can expose the "Additional JWT Headers" which can be used to prepare the assertion.

gouravsood commented 1 year ago

Thank you @aloha-workshop for this awesome utility. I'm happy to submit a PR for this issue as I have extended your solution to support additional JWT Header for a customer engagement.

jfwberg commented 1 year ago

Hi @gouravsood, thanks for the feedback! I'll add it in the next version. It's already quite big, so I might make it a slightly larger package and split up the JWT part. Many thanks!

gouravsood commented 1 year ago

Awesome @jfwberg, thank you for taking this into your backlog.