Welcome to the new Box Support website. Check out all the details here on what’s changed.

JWT authentication problem, "PEM_read_bio:no start line"

Answered
New post

Comments

3 comments

  • Box Product Support

    I have found a problem, I was using Base64 instead of Base64URL encoding. Some servers are able to verify assertion regardless of the type of the encoding, Box apparently cannot.

     

    It is written in the documentation that Base64URL encoding should be used, but maybe a note should be present about unsupported Base64 encoding, as some frameworks use this encoding as default (at least the one I am using).

     

    0
    Comment actions Permalink
  • Box Product Support

    I'm having the same issue "error":"invalid_grant","error_description":"OpenSSL unable to verify data"

     

    But I'm using the Python SDK and I'm sure it's using Base64URL encoding, Do you have any other ideas that could help to solve this issue?

    0
    Comment actions Permalink
  • ghm101

    I have this problem aslo - 

    0
    Comment actions Permalink

Please sign in to leave a comment.