Z
ZITADEL
Z
ZITADEL
Getting error invalid_client with grant type client_credentials
Original message was deleted
ZITADEL
Join
ZITADEL - Identity infrastructure, simplified for you.
4,316
Members
View on Discord
F
FFO
•
2/23/23, 2:47 PM
try sending it as basic authrization header
F
FFO
•
2/23/23, 2:47 PM
c
l
i
e
n
t
i
d
:clientsecret as base64 encoded
F
FFO
•
2/23/23, 2:49 PM
ah moment
F
FFO
•
2/23/23, 2:49 PM
you want to get a token for your client
?
F
FFO
•
2/23/23, 2:50 PM
yes
F
FFO
•
2/23/23, 2:51 PM
A client cant request tokens for himself currently
F
FFO
•
2/23/23, 2:51 PM
For this you need to use a service account
F
FFO
•
2/23/23, 2:52 PM
Service accounts support either PAT or JWT profile
(the one i need to describe in a silent minute
)
F
FFO
•
2/23/23, 2:52 PM
it is
F
FFO
•
2/23/23, 2:52 PM
for client authentication
F
FFO
•
2/23/23, 2:52 PM
not to get tokens for the client
F
FFO
•
2/23/23, 2:53 PM
do you want to get a token for a user with a client
?
in this case client credentials work
F
FFO
•
2/23/23, 2:53 PM
thats what authorization code flow does