Skip to content
This repository has been archived by the owner. It is now read-only.

Handle new device data in POST /v1/account/create #1094

Closed
philbooth opened this issue Nov 3, 2015 · 2 comments
Closed

Handle new device data in POST /v1/account/create #1094

philbooth opened this issue Nov 3, 2015 · 2 comments

Comments

@philbooth
Copy link
Contributor

@philbooth philbooth commented Nov 3, 2015

curl -v \
-X POST \
-H "Content-Type: application/json" \
"https://api-accounts.dev.lcip.org/v1/account/create?keys=true" \
-d '{
  "email": "me@example.com",
  "authPW": "996bc6b1aa63cd69856a2ec81cbf19d5c8a604713362df9ee15c2bf07128efab",
  "device": {
    "name": "My Phone",
    "type": "mobile",
    "callback": "https://updates.push.services.mozilla.com/update/abcdef01234567890abcdefabcdef01234567890abcdef",
    "publicKey": "468601214f60f4828b6cd5d51d9d99d212e7c73657978955f0f5a5b7e2fa1370"
  }
}'
@philbooth philbooth added this to the FxA-45: device registration milestone Nov 3, 2015
@philbooth philbooth changed the title Handle new device data in /v1/account/create Handle new device data in POST /v1/account/create Nov 3, 2015
@philbooth philbooth self-assigned this Nov 3, 2015
@dannycoates
Copy link
Member

@dannycoates dannycoates commented Nov 3, 2015

Hey @philbooth, its incomplete, but I had a branch going on this here https://github.com/dannycoates/picl-idp/tree/i1061

@philbooth
Copy link
Contributor Author

@philbooth philbooth commented Nov 4, 2015

Nice one, thanks @dannycoates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants