Tav0 / OSF_meetings_ember

OSF meetings platform in EmberJS
2 stars 4 forks source link

Move auth endpoint to ember #203

Open jnayak1 opened 8 years ago

jnayak1 commented 8 years ago

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.