-
|
Short version: Given a token, how do I determine the grant type? Is it possible to add a Longer version: Our server-side code that interprets the token needs to figure out whether it's interacting with a user or a machine; for the moment, we can just use the But I'm wondering about the day if/when I need to support client credentials grants publicly. Naturally, exposing our Hydra server to the Internet is an option but brings with it certain responsibilities. We already use Auth0 publicly for users; it would be natural to consider using it for Internet-facing machine-to-machine flows. If we did that, my Now I see that client credentials tokens issued by Auth0 include a Or is there another (better) way to figure out what sort of grant a token represents? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
For client credentials, the |
Beta Was this translation helpful? Give feedback.
For client credentials, the
client_idequals thesubduring introspection. For all other flows, these two values are different. There are no other indicators for that at the moment.