How to get auth code programtically
Hi,
I am new to box. I am trying to get refresh and access token calling available api's https://api.box.com/oauth2/token.
But for this , we need to generate auth code manually. Do we have any mechanism to generate auth code programatically and automatically in java.
Thanks,
Meghana
-
If you're looking to handle authentication automatically without having an individual user enter their credentials, you'll probably need to use Server-to-Server authentication with JWT. There's a helpful guide available at https://developer.box.com/docs/authenticate-with-jwt that shows how to use our Java SDK with JWT auth; I would recommend starting there!
Please sign in to leave a comment.
Comments
1 comment