-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add authorize method #73
base: master
Are you sure you want to change the base?
Conversation
d8fabcc
to
36bab0b
Compare
src/providers/oauth-provider.js
Outdated
@@ -7,6 +7,7 @@ import angular from 'angular'; | |||
import queryString from 'query-string'; | |||
|
|||
var defaults = { | |||
authorizePath: '/authorize', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/oauth2/authorize
36bab0b
to
eaa5f24
Compare
@pgom could you please provide a description? |
src/providers/oauth-provider.js
Outdated
authorize(clientId, scope, state) { | ||
// Check if `clientId` is defined. | ||
if (!clientId) { | ||
throw new Error('You must provide an application `clientId`'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update error message to:
throw new Error('Missing parameter: clientId.');
eaa5f24
to
36d10ce
Compare
What is left for this to be merged? |
+1 for this. |
+1 as well, what is left to be changed here for this to get merged? |
@pgom Let's rebase this? |
No description provided.