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

PLANNING ISSUE: Multi party authentication #2676

Closed
68 tasks done
SidharthBansal opened this issue Apr 29, 2018 · 20 comments
Closed
68 tasks done

PLANNING ISSUE: Multi party authentication #2676

SidharthBansal opened this issue Apr 29, 2018 · 20 comments
Assignees
Labels
feature explains that the issue is to add a new feature has-pull-request issues which already have a pull request solving it more-detail-please issue lacks proper description and perhaps needs code links or the location of the problem planning Planning issues! summer-of-code

Comments

@SidharthBansal
Copy link
Member

SidharthBansal commented Apr 29, 2018

This is the checklist for the OAuth Login

Implementation common to all providers

Google Provider

Github Provider

Twitter Provider

Facebook Provider

Handling Security Vulnerabilities

Front End

@SidharthBansal SidharthBansal added the feature explains that the issue is to add a new feature label Apr 29, 2018
@SidharthBansal SidharthBansal added more-detail-please issue lacks proper description and perhaps needs code links or the location of the problem summer-of-code labels Apr 29, 2018
@jywarren jywarren added the planning Planning issues! label May 3, 2018
@SidharthBansal SidharthBansal added the has-pull-request issues which already have a pull request solving it label May 20, 2018
@SidharthBansal SidharthBansal self-assigned this Jun 5, 2018
@SidharthBansal SidharthBansal modified the milestone: OAUTH LOGIN Jun 20, 2018
@jywarren
Copy link
Member

wow i love this page 😆 ✅✅✅✅✅✅

@SidharthBansal
Copy link
Member Author

@jywarren one way for #2676 (comment) is to have an additional field in the user_model. If a user makes an account on the public lab using the legacy authentication system then it is zero. If a user makes an account via google then it is one, fb=>2, twitter=>3, github=>4. If a user resets a password then this field is reset to zero. So, that way we can check while logging the user in if the username's field is non zero this imply he has not generated password even once.

Zero field indicates that the account password is generated by the user
Non zero field indicates the account password is not generated by the user yet.

Any other idea about this feature?

@SidharthBansal
Copy link
Member Author

I am breaking the front end portion into sequential ftos. So that the I can focus on the other backend features

@jywarren
Copy link
Member

jywarren commented Jul 9, 2018

Non zero field

This sounds interesting. Can you just walk through whether this could be achieved by looking at the password field itself, and the user tags, and explain to me if that would not be enough information to achieve this? I think I follow but just so we know we're understanding this the same way!

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Jul 10, 2018

@jywarren please see #3032 for password_checker field conversation.
I have added few items to the checklist which we discussed on google hangouts.
Thanks

@SidharthBansal
Copy link
Member Author

@jywarren is there any need to bcrypt the uid before storing in the db? I don't think there is a need.
I have added few items to the checklist on which I am working nowadays.
Also, is there any need to notify the user weekly or monthly that they have not set up there passwords yet OR can we just ignore this?
I think it will be frustrating for the clients to get weekly messages until they set up their passwords. There are many websites which enables you to log in and log out without notifying users via email to set passwords.

@jywarren
Copy link
Member

jywarren commented Jul 24, 2018 via email

@SidharthBansal
Copy link
Member Author

OK, I have updated the checklist according to your suggestions.
Thanks

@SidharthBansal
Copy link
Member Author

@jywarren can we close this now?

@jywarren jywarren closed this as completed Aug 4, 2018
@jywarren
Copy link
Member

jywarren commented Aug 4, 2018

Yes! And congratulations!

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Aug 5, 2018

Congrats to you to. And thanks for your help. You helped at each stage of the project. You are the best mentor @jywarren .
I will be learning Machine Learning and AI at my university in the current semester. Is there any project on PL where I can apply these, can learn and contribute?

@jywarren
Copy link
Member

jywarren commented Aug 6, 2018

I wonder about a couple things --

  1. could you use it to find related tags or related posts? Maybe for suggesting tags from the body text so tagging is more automated?
  2. could you use it to try to make an image classifier, along these lines, that's web-based? https://publiclab.org/notes/warren/1-16-2012/clashifier-open-source-web-based-image-classification-prototype

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Aug 6, 2018

Thanks. I like both of them. The first project seems to me beginner project. So, will like to take it if we need it. What do you suggest?

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Aug 6, 2018

that's web-based?

@jywarren if we have anything different from RoR/web but ML and AI is involved, even then, I am happy to contribute. I love contributing to PL and learning things here. I want to increase my knowledge.
You know a lot of things. And I think you can guide me better than anyone else. Can you please think and tell if any other place we need it?

@jywarren
Copy link
Member

jywarren commented Aug 6, 2018 via email

@SidharthBansal
Copy link
Member Author

Oh you mean two images background comparison to get the common points in both of them. Sound interesting.
I will search tonight these things.
PL is really huge!!!

@SidharthBansal
Copy link
Member Author

Thanks

@jywarren
Copy link
Member

jywarren commented Aug 6, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature explains that the issue is to add a new feature has-pull-request issues which already have a pull request solving it more-detail-please issue lacks proper description and perhaps needs code links or the location of the problem planning Planning issues! summer-of-code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants