amkirwan / ember-oauth2

JavaScript library for using OAuth 2.0 Implicit Grant flow (Client-Side Flow) with Ember.js
MIT License
133 stars 22 forks source link

README.md #2

Closed tvoglund closed 10 years ago

tvoglund commented 10 years ago

I believe it is not clear that the Redirect URL should be different then the Calling URL. What I mean is, I have an ember.js application that has url: http://localhost/index.html. On this page is a login button. When I click the login button I call App.oauth.authorize(). Therefore, i need to create a http://localhost/authorize.html with the html / js you provided for this page. Then use this url for the redirect URL in the configuration. If this is explicitly stated it will be more clear. Everything else is Great!

amkirwan commented 10 years ago

Sorry I just want to make sure I under stand correctly. When you say the Calling URL do you mean the authBaseUri in the OAuth providers configuration?