Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pgom
Copy link
Collaborator

@pgom pgom commented Jan 14, 2016

No description provided.

@pgom pgom force-pushed the feature/add-authorize branch 4 times, most recently from d8fabcc to 36bab0b Compare January 14, 2016 18:00
@@ -7,6 +7,7 @@ import angular from 'angular';
import queryString from 'query-string';

var defaults = {
authorizePath: '/authorize',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/oauth2/authorize

@joaogranado
Copy link
Member

@pgom could you please provide a description?

authorize(clientId, scope, state) {
// Check if `clientId` is defined.
if (!clientId) {
throw new Error('You must provide an application `clientId`');
Copy link
Member

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.');

@arthurbarros
Copy link

What is left for this to be merged?

@harrypritchett
Copy link

+1 for this.

@devshawn
Copy link

+1 as well, what is left to be changed here for this to get merged?

@ruipenso
Copy link
Member

@pgom Let's rebase this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants