---
title: "GET /sources/oauth/"
method: GET
path: "/sources/oauth/"
tags: ["sources"]
---

# GET /sources/oauth/

`GET /sources/oauth/`

Source Viewset

## Query parameters

- `access_token_url` string
- `additional_scopes` string
- `authentication_flow` string, uuid
- `authorization_url` string
- `consumer_key` string
- `enabled` boolean
- `enrollment_flow` string, uuid
- `group_matching_mode` 'identifier' | 'name_link' | 'name_deny'
- `has_jwks` boolean
- `name` string
- `ordering` string
- `page` integer
- `page_size` integer
- `pbm_uuid` string, uuid
- `policy_engine_mode` 'all' | 'any'
- `profile_url` string
- `provider_type` string
- `request_token_url` string
- `search` string
- `slug` string
- `user_matching_mode` 'identifier' | 'email_link' | 'email_deny' | 'username_link' | 'username_deny'

## Response `200`

- PaginatedOAuthSourceList
  - `pagination` Pagination, required
    - `next` number, required
    - `previous` number, required
    - `count` number, required
    - `current` number, required
    - `total_pages` number, required
    - `start_index` number, required
    - `end_index` number, required
  - `results` OAuthSource[], required
    - `pk` string, uuid, required
    - `name` string, required — Source's display Name.
    - `slug` string, required — Internal source name, used in URLs.
    - `enabled` boolean
    - `promoted` boolean — When enabled, this source will be displayed as a prominent button on the login page, instead of a small icon.
    - `authentication_flow` string, uuid, nullable — Flow to use when authenticating existing users.
    - `enrollment_flow` string, uuid, nullable — Flow to use when enrolling new users.
    - `user_property_mappings` string[]
    - `group_property_mappings` string[]
    - `component` string, required — Get object component so that we know how to edit the object
    - `verbose_name` string, required — Return object's verbose_name
    - `verbose_name_plural` string, required — Return object's plural verbose_name
    - `meta_model_name` string, required — Return internal model name
    - `policy_engine_mode` 'all' | 'any'
    - `user_matching_mode` 'identifier' | 'email_link' | 'email_deny' | 'username_link' | 'username_deny'
    - `managed` string, nullable, required — Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
    - `user_path_template` string
    - `icon` string
    - `icon_url` string, nullable, required
    - `icon_themed_urls` ThemedUrls, required — Themed URLs - maps theme names to URLs for light and dark themes
      - `light` string, nullable
      - `dark` string, nullable
    - `group_matching_mode` 'identifier' | 'name_link' | 'name_deny'
    - `provider_type` 'openidconnect' | 'apple' | 'discord' | 'entraid' | 'facebook' | 'github' | 'gitlab' | 'google' | 'mailcow' | 'okta' | 'patreon' | 'reddit' | 'slack' | 'twitch' | 'twitter' | 'wechat', required
    - `request_token_url` string, nullable — URL used to request the initial token. This URL is only required for OAuth 1.
    - `authorization_url` string, nullable — URL the user is redirect to to conest the flow.
    - `access_token_url` string, nullable — URL used by authentik to retrieve tokens.
    - `profile_url` string, nullable — URL used by authentik to get user information.
    - `pkce` 'none' | 'plain' | 'S256'
    - `consumer_key` string, required
    - `callback_url` string, required — Get OAuth Callback URL
    - `additional_scopes` string
    - `type` SourceType, required — Serializer for SourceType
      - `name` string, required
      - `verbose_name` string, required
      - `urls_customizable` boolean, required
      - `request_token_url` string, nullable, required
      - `authorization_url` string, nullable, required
      - `access_token_url` string, nullable, required
      - `profile_url` string, nullable, required
      - `oidc_well_known_url` string, nullable, required
      - `oidc_jwks_url` string, nullable, required
    - `oidc_well_known_url` string
    - `oidc_jwks_url` string
    - `oidc_jwks` object
    - `authorization_code_auth_method` 'basic_auth' | 'post_body'
  - `autocomplete` Autocomplete, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
