1. User goes to `frontendapplication.com/login` 2. User clicks on `Login with Unsplash` button 3. We redirect the user to `https://unsplash.com/oauth/authorize`, as documented in https://unsplash.com/documentation#authorization-workflow 3. After user confirms the login, Unsplash will make a get to `simul.com/redirect_uri` containing a query parameter `code`. 4. `simul` makes a request to `https://unsplash.com/oauth/token` in order to retrieve the access-token 5. Once we have the access-token, we can consider the user authenticated and make requests to Unsplash using this token.
frontendapplication.com/loginLogin with Unsplashbuttonhttps://unsplash.com/oauth/authorize, as documented in https://unsplash.com/documentation#authorization-workflowsimul.com/redirect_uricontaining a query parametercode.simulmakes a request tohttps://unsplash.com/oauth/tokenin order to retrieve the access-token