solidusio / solidusio/solidus_auth_devise

Devise Encryptor, why authlogic_sha512?

Open
#216 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
56
Forks
124
Avg merge
4h 56m
Merged PRs (30d)
1

Description

I was surprised to see the default encryptor for Devise was overwritten in this gem. Is there a good reason for this?

When I attempted to export my solidus user database to another platform, Firebase Auth, I couldn't find a solution for importing the passwords using the SHA512 examples found in their docs: https://firebase.google.com/docs/auth/admin/import-users

Perhaps someone here might have a clue how to get passwords over to Firebase Auth.

Here's where the encryptor is being set in this repo.
https://github.com/solidusio/solidus_auth_devise/blob/ed42532d91c6c59e74b8f28796af4cc3c5971a34/config/initializers/devise.rb#L43

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with config/initializers/devise.rb at the linked line and review the Firebase Auth password-import documentation referenced in the issue. Determine whether the encryptor choice should change or whether migration support is feasible; done requires a decided, validated change, but the issue does not identify tests or a precise expected outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, ruby
Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.