Skip to main content
Question

About domain name of Box API

  • May 22, 2025
  • 2 replies
  • 18 views

Forum|alt.badge.img

I have a one question about box api domain.
I could execute even if https://www.box.com/api/oauth2/authorize
However box api document is described as endpoint for authorization as follows

https://account.box.com/api/oauth2/authorize/

Is it ok to use https://www.box.com/api/oauth2/authorize??
The purpose of using this domain is that I'd like to realize to show box login screen every time. Actually I could see that box login screen was showed when I called https://www.box.com/api/oauth2/authorize. But I couldn't find out that it is correct method or not due to I couldn't find out any documents in box api

2 replies

Forum|alt.badge.img

Hi, 

We recommend following our developer documentation and using the endpoint https://account.box.com/api/oauth2/authorize/.

Thanks, 

Alex, Box Developer Advocate


Forum|alt.badge.img

Thank you for your answering.
I have a one more additional question.

1.
I'd like to make users input ID/Password every time when oAuth API is called 
Is there method in box API??

2.
Also is www.box.com/oauth2/authorize out of supporting ??
If possible, I wanna use this API due to ID/Password is shown every time even if authentication was passed last time