Invalid identity: NotAuthenticated using Authorisation Code Grant #2652
-
Hi, I tried to understand how I need to authenticate to
As I am understanding I am in the step that RFC6749 calls "Access Token Request". What am I doing wrong? How do I authenticate with the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The oauth2 rfc is generally very confusing. The /oauth2/authorise endpoint corresponds to https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.1 which allows query components and a separate rfc allows posting with json. However https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3 corresponds to /oauth2/token which accepts the form encoded post per the rfc. So we need to see more about how your flow is currently working. |
Beta Was this translation helpful? Give feedback.
The oauth2 rfc is generally very confusing.
The /oauth2/authorise endpoint corresponds to https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.1 which allows query components and a separate rfc allows posting with json.
However https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3 corresponds to /oauth2/token which accepts the form encoded post per the rfc.
So we need to see more about how your flow is currently working.