Hi, I am trying to get a token over the endpoint /auth/realms/{realm}/protocol/openid-connect/token
, but I only get:
Can someone help me please?
Hi, I am trying to get a token over the endpoint /auth/realms/{realm}/protocol/openid-connect/token
, but I only get:
Can someone help me please?
Hi,
Did you replace {realm} with the actual realm name?
Otherwise elaborate a bit further on your setup and attempts to make it work please.
Don
Hi @Don , thanks for your reply!
Oh yes I replaced {realm} with “master”. I posted the wrong screenshot … this is what I get:
The status is: 405 Method Not Allowed
Any idea how to fix this issue?
Is this an issue from my side or is it an issue of OpenRemote?
With the use of Postman it works now.
What I have done:
x-www-form-urlencoded
option and enter the following parameters:grant_type
: client_credentials
client_id
: {name-of-service-user}client_secret
: {generated-secret-of-service-user}For getting information about a specific asset I did the following:
Authorization
header to the request and set the value to Bearer {access_token}
, where {access_token}
is the access token obtained in the previous step.Hi Chief,
Great that you got it to work. Thanks for posting the steps you took!
Don