I am doing an in-depth study of Spring OAuth, and I found some conflicting information.
Specifically, this tutorial states that the /oauth/token
endpoint handles the username and password before granting a refresh token to the client app. By contrast, the Spring OAuth Developer Guide mentions the /oauth/authorize
and /oauth/token
endpoints, but yet does not get specific about how they work.
Does the /oauth/authorize
do 100% of the username/password/nOtherFactors
check and then signal the /oauth/token
endpoint to send a refresh token to the client, so that the client then sends the refresh token to the /oauth/token
endpoint?
Or is all of it handled by the /oauth/token
endpoint?
Is the relationship between /oauth/authorize
and /oauth/token
different for different grant types? How?