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

Method To Create User Accounts For Testing #54

Closed
fisher60 opened this issue Jun 9, 2023 · 2 comments · Fixed by #83
Closed

Method To Create User Accounts For Testing #54

fisher60 opened this issue Jun 9, 2023 · 2 comments · Fixed by #83
Assignees
Labels
backend Relates to backend enhancement New feature or request

Comments

@fisher60
Copy link
Member

fisher60 commented Jun 9, 2023

Summary

Currently there is no easy way to create a user account locally for testing on AbandonAuth. In the near future we will also want to create unit tests that will require a user account as well.

We should create an endpoint that allows a user account to be created using a password (similar to upcoming developer application logic). This endpoint should not exist nor be accessible in any way in production.

Acceptance Criteria

  • A method exists to create a user account without a 3rd-party OAuth login/any UI elements.
  • A JWT can be exchanged with this new account in order to remain logged in during a test session.
  • This functionality is not accessible in production
@Lopkop
Copy link
Contributor

Lopkop commented Apr 5, 2024

Can I take this? (I am asking because this issue already has assignees =) )

@fisher60
Copy link
Member Author

fisher60 commented Apr 5, 2024

Yes please take this one! I have not gotten to it in months, reassigning to you.

@fisher60 fisher60 assigned Lopkop and unassigned fisher60 Apr 5, 2024
@fisher60 fisher60 added the backend Relates to backend label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Relates to backend enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants