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

Username/Password Authentication? #14

Closed
tylerstillwater opened this issue Dec 12, 2014 · 6 comments
Closed

Username/Password Authentication? #14

tylerstillwater opened this issue Dec 12, 2014 · 6 comments
Labels

Comments

@tylerstillwater
Copy link
Collaborator

Would Username/Password authentication be something we want in goth?

@markbates
Copy link
Owner

I've thought about it, but not sure how you'd go about it. Could probably implement basic http auth, but db driven would be a lot harder.

@tylerstillwater
Copy link
Collaborator Author

Right.. goth shouldn't care about the DB in any way. If anything, we'd need a callback function the calling code uses to do DB work for us.

@tylerstillwater
Copy link
Collaborator Author

I'm not sure user/pass makes much sense in terms of goth, though. It really is architected for oauth flows.

@markbates
Copy link
Owner

Sorry, I've been away for the last few days. I'm going to close this, for now. I agree I think it would be a of a shoehorn to get it in.

Let's keep in the back of our minds and if a solution pops in then we can re-open.

@digitalplaywright
Copy link

https://github.com/simplabs/rails_api_auth is a rails example for supporting the "Resource Owner Password Credentials Grant" OAuth 2.0 flow as well as Facebook authentication. It is extremely simple and not many lines of code, and hopefully this can be made into an equivalent. However, the scope of this package is for APIs with bearer tokens only and not for cookie based sessions.

dvic pushed a commit to dvic/goth that referenced this issue Feb 8, 2021
@lucagez
Copy link

lucagez commented Apr 17, 2023

This PR #506 can add support for the Password Grant flow

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

No branches or pull requests

4 participants