BoxJWTAuth.AdminToken
Hello Box.com,
I am receiving an error below. I am not sure what i need to setup/configure or other.
{"error":"invalid_grant","error_description":"Please check the 'sub' claim."}
at Box.V2.Extensions.BoxResponseExtensions.ParseResults[T](IBoxResponse`1 response, IBoxConverter converter)
at Box.V2.JWTAuth.BoxJWTAuth.JWTAuthPost(String assertion)
at Box.V2.JWTAuth.BoxJWTAuth.AdminToken()
Thank You!
-
When you request a new Admin access token, one of the credentials you have to provide is your Enterprise id. The sub claim error is saying that the value you passed for this credential is not valid. Step 1 on this page shows where to get your Enterprise id.
-
Im also having the same error.
I was able to make this work on my local server, but I keep getting this error when I moved to a remote server. All keys are the same except for the ssl keys setup.Im using Boxr client. Here's my error message:
Boxr::BoxrError: 400: {"error":"invalid_grant","error_description":"Please check the 'sub' claim."}
from /data/medifi/shared/bundle/ruby/2.1.0/gems/boxr-1.2.0/lib/boxr/auth.rb:90:in `auth_post'
from /data/medifi/shared/bundle/ruby/2.1.0/gems/boxr-1.2.0/lib/boxr/auth.rb:24:in `get_tokens'
from /data/medifi/shared/bundle/ruby/2.1.0/gems/boxr-1.2.0/lib/boxr/auth.rb:32:in `get_enterprise_token'
サインインしてコメントを残してください。
コメント
2件のコメント