quintel / documentation

Documentation for the Energytransitionmodel.
https://docs.energytransitionmodel.com
6 stars 6 forks source link

Cannot access token information via API #146

Closed robcalon closed 1 year ago

robcalon commented 1 year ago

The endpoint "engine.energytransitionmodel.com/oauth/tokens/info" does not seem to return token information while the endpoint "engine.energytransitionmodel.com/oauth/userinfo" does yield information about the owner of the token. Could it be that I'm pointing at the wrong endpoint to lookup the scope of the token?

Edit The endpoint seems to be /oauth/token/info, instead of tokens and would only require a small modification in the documentation https://docs.energytransitionmodel.com/api/authentication#get-information-about-a-token

robcalon commented 1 year ago

@noracato

noracato commented 1 year ago

Thanks @robcalon for notifying us! I'm transferring this issue to our documentation repository