Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Endpoint to create an Account given an API Token #1013

Closed
nakhbari opened this issue Jun 19, 2018 · 3 comments
Closed

Endpoint to create an Account given an API Token #1013

nakhbari opened this issue Jun 19, 2018 · 3 comments
Assignees
Projects
Milestone

Comments

@nakhbari
Copy link
Contributor

nakhbari commented Jun 19, 2018

Parent: #1011

POST endpoint to create a user. Input should be an API Token and password. The email should be pulled from the API token and be used as the user ID.

This endpoint should login the new user by returning a JWT token.

{
  "api_token": "234",
  "password": "456"
}
@nakhbari nakhbari mentioned this issue Jun 19, 2018
5 tasks
@nakhbari nakhbari added this to the Beta milestone Jun 19, 2018
@nakhbari
Copy link
Contributor Author

nakhbari commented Jul 3, 2018

@KrauseFx Do you have cycles to work on this?

@nakhbari nakhbari added this to Backlog in fastlane CI via automation Jul 3, 2018
@nakhbari nakhbari moved this from Backlog to Beta High Priority in fastlane CI Jul 3, 2018
@KrauseFx KrauseFx self-assigned this Jul 6, 2018
@KrauseFx
Copy link
Member

KrauseFx commented Jul 6, 2018

Yes, I can take that on today 👍

@KrauseFx
Copy link
Member

KrauseFx commented Jul 6, 2018

This endpoint should login the new user by returning a JWT token.

I don't think that's a good idea. We probably will have some kind of user management at some point, which ideally uses the same API endpoint I guess? I believe we should let the frontend do 2 requests:

  1. Create the user
  2. Login

fastlane CI automation moved this from Beta High Priority to Done Jul 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
fastlane CI
  
Done
Development

No branches or pull requests

2 participants