devise_token_auth icon indicating copy to clipboard operation
devise_token_auth copied to clipboard

Allow backup field authorization for login & password reset

Open djsegal opened this issue 9 years ago • 8 comments

Resolves: #509 Replaces: #510


Notes:

  • Read commits in order
  • Changes allow for polymorphic relationships
  • PR will be followed up with a modification to the registrations controller (to allow polymorphic relation construction)
    • viewable at https://github.com/djsegal/devise_token_auth/pull/1

djsegal avatar Feb 14 '16 22:02 djsegal

Will try to take a look at this in the next couple of days @djsegal.

@lynndylanhurley / @nbrustein - could probably use some more eyes on this one!

booleanbetrayal avatar Feb 14 '16 22:02 booleanbetrayal

Afraid I've been swamped @djsegal. Will try to take a look at it ASAP unless @lynndylanhurley beats me to it.

booleanbetrayal avatar Feb 22 '16 22:02 booleanbetrayal

@booleanbetrayal any word on this? I can look into doing a rebase if you think it's worth it.

djsegal avatar Apr 21 '16 17:04 djsegal

Hi there @djsegal ,

In an effort to cleanup this project and prioritize a bit, we're marking pull requests that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this pull request. Obviously feel free to re-open it at any time if it's the right time or this was done in error! If you do, please rebase it with the latest master and explain why it's still needed.

We really appreciate your contribution, we're just trying to make this project manageable again to move it forward.

Hope all is well.

zachfeldman avatar Oct 07 '17 19:10 zachfeldman

I think this is valuable enough to keep open

djsegal avatar Oct 14 '17 16:10 djsegal

@djsegal I apologize for the delay. Re-opening now, I'll look into this ASAP

lynndylanhurley avatar Oct 14 '17 16:10 lynndylanhurley

 @resource = q.find_by(provider: 'email')

Strongly recommend against any refactorings that presume or hardcore provider to be 'email.' I believe this forced coupling is an immense source of unneeded complexity within this gem that makes things very hard to change for anyone who is trying to configure this gem for use cases outside of email (like usernames or phone numbers).

KelseyDH avatar Jan 18 '18 08:01 KelseyDH

Let's do this

jerichoECKO avatar Jun 07 '20 17:06 jerichoECKO