Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Add stories related to auth flow - #90

Merged
allella merged 1 commit into
freeCodeCamp:masterfrom
matjack1:auth-stories
Oct 20, 2019
Merged

allella merged 1 commit into
freeCodeCamp:masterfrom
matjack1:auth-stories

Conversation

@matjack1

Copy link
Copy Markdown
Contributor
  • I have read Chapter's contributing guidelines.
  • My pull request has a descriptive title (not a vague title like Update README.md).
  • My pull request targets the master branch of Chapter.

Since in the DB we have user email/password and social providers we need to add the user stories for the auth flow.

I'm proposing the smallest set of features I can think of to the auth flow to the MVP. I'm proposing to only use Github as a social provider to minimise things and also I think for now we can only target developers (or aspiring ones!) working on the MVP :)

@chrismgonzalez

Copy link
Copy Markdown
Contributor

@matjack1 Thanks for your work on this PR. Have you thought about potential non-tech users of the application that may not have a Github? I would like to know the thoughts of others with regards to at least having Facebook or Google logins available in the MVP in addition to what you are proposing with Github integration.

It seems to be pretty quiet around here as of this evening so we'll see if anyone else chimes in.

@iansltx

iansltx commented Oct 19, 2019

Copy link
Copy Markdown
Contributor

+1 for FB/Google login capabilities. Between FB/Google/GitHub there's generally going to be one option that folks use and don't mind linking to another account (my personal go-to is Google, with GitHub only getting used on more tech-y stuff).

Comment thread README.md Resolved
Comment thread README.md Resolved
@matjack1

Copy link
Copy Markdown
Contributor Author

OK, I've updated the PR to include Google and FB. I thought starting only with Github to keep things simple. We can always add more later.

For the MVP I would have started with the email only if it was for me, much less code to start validating everything else, which I think is more important. But if you all agree with the three social logins I'm fine.

@vkWeb

vkWeb commented Oct 19, 2019

Copy link
Copy Markdown
Member

@matjack1 @chrismgonzalez Let's just start with google to keep things simple. What do you say?

@chrismgonzalez

chrismgonzalez commented Oct 19, 2019 •

Copy link
Copy Markdown
Contributor

Sure that sounds good! Thanks guys. I will add (or someone else can) add the post MVP auth methods to #84

@matjack1 matjack1 mentioned this pull request Oct 19, 2019
17 tasks
@matjack1

Copy link
Copy Markdown
Contributor Author

@chrismgonzalez @vkWeb makes sense, PR updated and issue too :)

Comment thread README.md Resolved
Comment thread README.md Outdated

### As a user

- I can open a registration page where I can sign up with email password.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

email and password. Details about min requirements?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think they are necessary for now, we can start implementing something very minimal and then build on top of it. So I would not add no requirements now.

Comment thread README.md Resolved
@matjack1

Copy link
Copy Markdown
Contributor Author

I've updated this PR following everyone's feedback.

Summary is that I'm proposing to add email and password login without any further spec for now. We can add complexity requirements at a later stage (#84 (comment)).

Regarding social login I'm proposing to start with Google only and then we add the others at a later stage (#84 (comment)).

@vkWeb

vkWeb commented Oct 20, 2019

Copy link
Copy Markdown
Member

@chrismgonzalez This is ready. Please squash merge :)

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.

7 participants