fiware-idm
fiware-idm copied to clipboard
to get Access_token the API consults the Iot_Agents
why to get the access token, the API only searchs into the Iot_agents if these don't have permissions into the application?
me:
Iot_Agent:
when i try to use any authorization method with an user credentials, always the result is 500. ¿which is the purpose to limit these access_tokens to the Iot Agents?
When you request an access token via Resource Owner Password Credentials Grant, Keyrock search either in Iot Agents and User Table because it doesn't know in which table is the entity who is requesting a token. You can see in your images that these two queries to the database are performed.
Probably you need to clone the latest version of Keyrock in which are solved somo problems related to user authentication and run the ñatest migrations.
@apozohue10 do you have the Keyrock 7.5.0 API documentation?
The Apiary web page presents discontinued commands that return internal server error 500