BoxJWTAuth.AdminToken

新規投稿

コメント

2件のコメント

  • Murtza

    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. 

     

    0
    コメントアクション Permalink
  • carlmyer

    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'

     

    0
    コメントアクション Permalink

サインインしてコメントを残してください。