---
title: "Create custom oauth provider"
method: POST
path: "/resources/sso/custom/v1"
tags: ["Custom social OAuth provider"]
---

# Create custom oauth provider

`POST /resources/sso/custom/v1`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/sso/custom/v1`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/sso/custom/v1/post.ts> (a function with typed inputs; its response is checked against the schema)

This route creates a custom social login provider using OAuth details of the identity provider

## Request body

- CreateCustomSsoRequestDto
  - `type` string, required
  - `clientId` string, required
  - `secret` string, required
  - `redirectUrl` string, required
  - `authorizationUrl` string, required
  - `tokenUrl` string, required
  - `userInfoUrl` string, required
  - `scopes` string, required
  - `ssoLogoUrl` string, required
  - `displayName` string, required
  - `active` boolean, required

## Response `200`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
