Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Adding token and username/password as login options #3

Merged
merged 2 commits into from
Nov 8, 2016

Conversation

Lucretius
Copy link
Collaborator

Added username/password as well as auth token support. The default is Github, but you can change things in a dropdown which will appear in the settings menu.

I've also gone ahead and added error handling to the server, so that bad requests notify the client of the error.

}
})
.then((resp) => {
//DJ fill in the blanks here
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

DJ you'll need to handle this part - and on the server as well. Right now, anything besides the Github auth method throws a 400 bad request error server side.

Copy link
Owner

Choose a reason for hiding this comment

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

kk will do, otherwise LGTM

@Lucretius Lucretius merged commit b1711a0 into master Nov 8, 2016
@Lucretius Lucretius deleted the login-options branch November 8, 2016 17:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants