Backend Services
- Authentication
- GET/.well-known/jwks.json
- POST/elevate/webauthn
- POST/elevate/webauthn/verify
- GET/healthz
- HEAD/healthz
- POST/link/idtoken
- GET/mfa/totp/generate
- POST/pat
- POST/signin/anonymous
- POST/signin/email-password
- POST/signin/idtoken
- POST/signin/mfa/totp
- POST/signin/otp/email
- POST/signin/otp/email/verify
- POST/signin/passwordless/email
- POST/signin/passwordless/sms
- POST/signin/passwordless/sms/otp
- POST/signin/pat
- GET/signin/provider/{provider}
- GET/signin/provider/{provider}/callback
- POST/signin/webauthn
- POST/signin/webauthn/verify
- POST/signout
- POST/signup/email-password
- POST/signup/webauthn
- POST/signup/webauthn/verify
- POST/token
- POST/token/verify
- GET/user
- POST/user/deanonymize
- POST/user/email/change
- POST/user/email/send-verification-email
- POST/user/mfa
- POST/user/password
- POST/user/password/reset
- POST/user/provider/tokens
- POST/user/webauthn/add
- POST/user/webauthn/verify
- GET/verify
- GET/version
- GET
- Storage
- AI
Client Libraries
- Javascript
- React
- Next.js
- Vue
- React Native
CLI
/user/provider/tokens
Refresh Oauth Token
POST
/
user
/
provider
/
tokens
curl --request POST \
--url https://local.auth.local.nhost.run/v1/user/provider/tokens \
--header 'Content-Type: application/json' \
--header 'x-hasura-admin-secret: <x-hasura-admin-secret>' \
--data '{
"providerId": "<string>",
"userId": "2c35b6f3-c4b9-48e3-978a-d4d0f1d42e24"
}'
"<string>"
Headers
Hasura admin secret
Body
application/json
The body is of type object
.
Response
200
application/json
Success
The response is of type string
.
Was this page helpful?
curl --request POST \
--url https://local.auth.local.nhost.run/v1/user/provider/tokens \
--header 'Content-Type: application/json' \
--header 'x-hasura-admin-secret: <x-hasura-admin-secret>' \
--data '{
"providerId": "<string>",
"userId": "2c35b6f3-c4b9-48e3-978a-d4d0f1d42e24"
}'
"<string>"
Assistant
Responses are generated using AI and may contain mistakes.