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

signup with email and password #175

Open
rodgomesc opened this issue Aug 18, 2020 · 3 comments
Open

signup with email and password #175

rodgomesc opened this issue Aug 18, 2020 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@rodgomesc
Copy link

Versions
Please fill in all that apply:

  • Convergence Version: 1.0.0-rc.7
  • OS: Linux
  • Browser: all
  • Java Version: openjdk 11

Description

hello, guys, I didn't see anything in the documentation related to signup with email and password, or in any other way than by the administrative panel, do you have plans to do this type of implementation? if so, could you show me some way to start working on it ?, thanks

@rodgomesc rodgomesc added the enhancement New feature or request label Aug 18, 2020
@mmacfadden
Copy link
Contributor

Thanks for the question. We don't have this capability today. Convergence generally assumes that you have application infrastructure that would usually take care of that. Most of our users have an authoritative use directory and a back end server that controls them. They generally use the REST API to create a user in convergence when a user is created in their system, or they use JWT which will auto create the user.

Is the use case here that you would like to use convergence as the main user store, and are looking for a way for the end-user to register a new user through the web?

@rodgomesc
Copy link
Author

rodgomesc commented Aug 23, 2020

So, I'm migrating from firebase / firestore to convergence, and in the current approach of my project, I hadn't planned to develop a backend yet, I was using firebase as a user manager, creating new users with:

firebase.auth().createUserWithEmailAndPassword(email,password)

but this is not a problem, I really think I should move this to an api, even because I would have more control over it,

But for now I have a doubts about what you said;

They generally use the REST API to create a user in convergence when a user is created in their system

what would be the best way to do this?

I would use my api to connect to the convergence database and manually create the user in the database as it happens when a user signs up in convergence admin console, so I would have some challenges, like using the same encryption standard as the hash of password in your db etc , for now I will check this approach with jwt

I will show a little of my app flow of so if you have any other suggestions, let me know 😄

flow.png

@alalonde
Copy link
Contributor

alalonde commented Jun 7, 2021

Did you end up taking the JWT route? Curious what you're using for auth now. The JWT flow is typically a bit more straightforward to implement.

@mmacfadden mmacfadden added this to the Backlog milestone Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants