---
title: "Register New User Sso"
method: POST
path: "/auth/register-sso"
tags: ["AUTH"]
---

# Register New User Sso

`POST /auth/register-sso`

## Headers

- `x-tenant` string

## Request body

- SSOUserRegisterIn
  - `firstName` string, required
  - `lastName` string, required

## Response `200`

Successful Response

- UserLoginOut
  - `id` integer, nullable
  - `email` string, required
  - `auth_token` string, required
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `is_onboarded` boolean, required
  - `tz` string, nullable
  - `lang` string, nullable
  - `uuid` string, uuid, required
  - `role_FK` RolePermissionFull
    - `role_name` string, required
    - `role_description` string, required
    - `role_title` string, required
    - `is_custom` boolean, required
    - `permission` PermissionsFull[], required
      - `uuid` string, uuid, required
      - `name` string, required
      - `title` string, required
      - `description` string, required
      - `group` string, nullable
  - `has_role_conflict` boolean
  - `sso_resolved_role_title` string, nullable

## Other responses

- `400` — User is not created.
- `403` — User cannot be created in public tenant.
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/103580dad816/schema)
