AAAA
April 10, 2019, 12:40am
1
Hi All,
Grant type: Client Credentials
I’ve two different clients accessing my dot net core API and based on their user groups, API functions are restricted.
Is possible to add a custom claim ( groups) to the access token for Client Credentials Grant type ? It works with the implicit flow.
Can anybody point me in the right direction?
Thank you in advance
Screenshot for your reference
Create a custom Auth Server
Create a claim call Groups
dragos
April 10, 2019, 12:50pm
2
Hi @AAAA
Unfortunately, it’s not possible, as the claim is targeting the group membership of the user that got authorized and, when using client credentials, there is no user involved.
AAAA
April 11, 2019, 1:29am
3
Hi @dragos , Thanks for the prompt reply.
system
Closed
January 17, 2024, 7:57pm
4
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.