---
title: "Update custom oauth provider"
method: PATCH
path: "/resources/sso/custom/v1/{id}"
tags: ["Custom social OAuth provider"]
---

# Update custom oauth provider

`PATCH /resources/sso/custom/v1/{id}`

## Request

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

This route updates the custom social login provider on an environment by ID

## Path parameters

- `id` string, required

## Request body

- UpdateCustomSsoRequestDto
  - `type` string
  - `clientId` string
  - `secret` string
  - `redirectUrl` string
  - `authorizationUrl` string
  - `tokenUrl` string
  - `userInfoUrl` string
  - `scopes` string
  - `ssoLogoUrl` string
  - `displayName` string
  - `active` boolean

## 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)
