Currently, we have an endpoint (auth/) in our django app that generates the OAuth authentication url. Navigating to the authentication url brings the user to an OSF login page, then asks the user to grant permission for our app to use their osf account.
The generation of this url does not need to be in our django app. It could instead be in our ember app. This is how ember-osf does it.
Create an "auth" route in our ember app that generates the authentication url and directs the user to it.
Currently, we have an endpoint (auth/) in our django app that generates the OAuth authentication url. Navigating to the authentication url brings the user to an OSF login page, then asks the user to grant permission for our app to use their osf account. The generation of this url does not need to be in our django app. It could instead be in our ember app. This is how ember-osf does it. Create an "auth" route in our ember app that generates the authentication url and directs the user to it.