users
Create Or Verify User Social
Create a user using a social login provider.
Social providers include:
- Okta
- Github
If no admin exists (first user), the user will be created as an admin. Otherwise,
- The user object in the DB was already created when the admin invited the user
- Therefore, we only need to verify the user’s email
POST
/
users
/
social
Query Parameters
signup_token
string | null
Body
application/json
id_token
string
requiredprovider
enum<string>
requiredAvailable options:
google
, github
, okta
, azure-ad
, custom
Response
200 - application/json
id
string
requiredpermissions
object[]
email
string | null
first_name
string | null
default: last_name
string | null
default: auth_method
enum<string> | null
default: emailAvailable options:
email
, google
, github
, okta
, azure-ad
, custom
is_admin
boolean | null
role
enum<string> | null
Available options:
admin
, manager
, user
, read_only
email_is_verified
boolean | null
created_at
string
requiredupdated_at
string
requiredWas this page helpful?