Skip to main content

The grant type is unauthorized for this client_id


trying to request token from c#.net using grant type: authorization_code,

I’m getting the error “The grant type is unauthorized for this client_id”

I don’t know where to set the redirect url, I have set CORS Domains as http://0.0.0.0


Add information about the configuration settings of your app. : Custom

Authentication Method : OAuth 2.0 with JSON Web Tokens (Server Authentication) (pre populated.)


Please help.

Thanks.

Prasanna.

4 replies

rbarbosa Box
  • Developer Advocate
  • 553 replies
  • August 22, 2023

Hi @prasanna


If you are using a free account, you can’t, at the moment, use JWT authentication…


This is temporary though.


Cheers


reynlds-illinois

Is this a “bug” or is this just something that’s never been rolled out to the free platform users?


rbarbosa Box
  • Developer Advocate
  • 553 replies
  • August 23, 2023

Hi,


Not a bug at all, we used to have free developer accounts where all authentication types were fully enabled.


We had to restrict those due to an abuse incident.


Once our engineering puts in place a way to avoid this, the free developer accounts will be back.


Read the full story her:



Cheers


reynlds-illinois

100% understand, and I’ve done the same thing occasionally. It’s a bit “heavy handed”, but works without issues until the work-arounds or fix(es) are in place. thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings