machine-to-machine client registration when using a custom ClientAssertionService #248
Unanswered
cdschneider
asked this question in
Open Source
Replies: 2 comments 2 replies
-
|
No, the We're looking into this issue, thanks for raising it! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@cdschneider Thanks for bringing this to our attention. This PR addresses this issue:DuendeSoftware/foss#221 We will do our best to release a new version of ATM as soon as possible. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Should the
ClientSecretproperty always be required when setting up a machine-to-machine client for use with theclient_credentialsgrant type?I am trying to leverage the
jwt-bearerclient assertion type by implementing my ownClientAssertionService, however there are a few places where it seems like it is expected that aClientSecretis always present. Right now my requests (which use theAccessTokenRequestHandler) fail at these points that expectClientSecretproperty to be configured:https://github.com/DuendeSoftware/foss/blob/main/access-token-management/src/AccessTokenManagement/Internal/ClientCredentialsTokenClient.cs#L43-L46
https://github.com/DuendeSoftware/foss/blob/main/access-token-management/src/AccessTokenManagement/ClientCredentialsClient.cs#L98-L101
To my understanding, using the jwt-bearer client assertion type is a way to avoid using a static
client_secretto request access tokens. I'm looking to see if this might be a bug in the library or I'm missing something with how to properly configure my setup for client_credentials + jwt-bearer client-assertion-type for requesting access tokens.Note: this is encountered while using
Duende.AccessTokenManagement/4.0.0-preview.2, after downgrading to latest stable (3.2.0) I no longer see this issue.Beta Was this translation helpful? Give feedback.
All reactions