Hi, I am using Standard OAuth 2.0 (User Authentication) in my box app.
I am trying use api https://developer.box.com/reference/post-oauth2-token/ to fetch access token
Here is my request
http POST https://api.box.com/oauth2/token client_id=701unzvyjs3289mabkq1ftk0ugjg6ssa client_secret=REDACTED grant_type=client_credentials box_subject_id=638106 box_subject_type=enterprise
I am getting error
{
"error": "unauthorized_client",
"error_description": "The \"box_subject_type\" value is unauthorized for this client_id"
}
I am not sure what I am doing wrong. Is there some setting I am missing here?