App authorization request – JWT integration fails with "sub" claim error

Answered
New post

Comments

1 comment

  • Rona

    Hi there, 

    Welcome to Box Community and glad to assist! 

    The "sub" claim in the JWT should always be a Box ID — depending on the value of "box_sub_type" it would be either the ID of the user you're trying to generate tokens for or the ID of the enterprise you're authenticating as the service account for. You want to verify this value is correct and that you're passing it as a string.

    More info here.

    Hope it helps!

    0
    Comment actions Permalink

Please sign in to leave a comment.