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

Create flow of creation/retrieval of user post-auth #25

Closed
julianochoi opened this issue Jun 2, 2023 · 0 comments · Fixed by #26
Closed

Create flow of creation/retrieval of user post-auth #25

julianochoi opened this issue Jun 2, 2023 · 0 comments · Fixed by #26
Labels
back-end Back-end feature or request

Comments

@julianochoi
Copy link
Collaborator

julianochoi commented Jun 2, 2023

Description

Create flow of creation and retrieval of users assuming that authentication with 42 Intra is already done.

Suggested Steps:

  • Search the DB for the user (unique id can be login, intra ID, etc.)
  • If found:
    • return User
  • If not:
    • get data from Intra
    • create User and UserProfile in DB
    • return User
@julianochoi julianochoi changed the title Criar fluxo de criação/busca de usuários pós-auth Create flow of creation/retrieval of user post-auth Jun 2, 2023
@vcwild vcwild added the back-end Back-end feature or request label Jun 2, 2023
@vcwild vcwild added this to the Implement Auth milestone Jun 5, 2023
@vcwild vcwild closed this as completed in #26 Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Back-end feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants