apistockdocs
v0.4 GitHub apistock.dev
API reference/Auth

Get a nonce for a native sign-in

POST /v1/auth/{provider}/nonce
Put the nonce in Google's or Apple's SDK request, then send the ID token with it to POST /v1/auth/{provider}/token. It works once, for 5 minutes.

Path

providerstringrequired
one of: google, apple

Responses

errors: application/problem+json
200

OK

422

Unprocessable Entity

500

Internal Server Error

503

Service Unavailable

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close