After I login interactively, I go to the /.auth/me
endpoint to get my access_token
, but when I try to use it with curl to access a protected endpoint, it says I don't have permission.... does anyone have a clue how to do this?
Once I disable auth, I can easily use the API using only the function keys. So I'm fairly certain this is something with the easy-auth (Entra ID) setup and something with the access tokens that I'm doing wrong.
After I login interactively, I go to the /.auth/me
endpoint to get my access_token
, but when I try to use it with curl to access a protected endpoint, it says I don't have permission.... does anyone have a clue how to do this?
Once I disable auth, I can easily use the API using only the function keys. So I'm fairly certain this is something with the easy-auth (Entra ID) setup and something with the access tokens that I'm doing wrong.
Share Improve this question edited Mar 9 at 12:37 marc_s 756k184 gold badges1.4k silver badges1.5k bronze badges asked Mar 9 at 11:15 Robert PeterssonRobert Petersson 315 bronze badges 1- Well i used curl and included my session cookie, that worked for now :) – Robert Petersson Commented Mar 10 at 6:15
1 Answer
Reset to default 0Well i used curl and included my session cookie, that worked for now :)