sources_oauth_list
GET/api/v3//sources/oauth/
Source Viewset
Request
Query Parameters
access_token_url string
additional_scopes string
authentication_flow uuid
authorization_url string
consumer_key string
enabled boolean
enrollment_flow uuid
group_matching_mode string
Possible values: [identifier
, name_deny
, name_link
]
How the source determines if an existing group should be used or a new group created.
has_jwks boolean
Only return sources with JWKS data
name string
ordering string
Which field to use when ordering the results.
page integer
A page number within the paginated result set.
page_size integer
Number of results to return per page.
pbm_uuid uuid
policy_engine_mode string
Possible values: [all
, any
]
profile_url string
provider_type string
request_token_url string
search string
A search term.
slug string
user_matching_mode string
Possible values: [email_deny
, email_link
, identifier
, username_deny
, username_link
]
How the source determines if an existing user should be authenticated or a new user enrolled.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
pagination objectrequired
results object[]required
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"slug": "string",
"enabled": true,
"authentication_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"enrollment_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"user_property_mappings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"group_property_mappings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"policy_engine_mode": "all",
"user_matching_mode": "identifier",
"managed": "string",
"user_path_template": "string",
"icon": "string",
"group_matching_mode": "identifier",
"provider_type": "apple",
"request_token_url": "string",
"authorization_url": "string",
"access_token_url": "string",
"profile_url": "string",
"consumer_key": "string",
"callback_url": "string",
"additional_scopes": "string",
"type": {
"name": "string",
"verbose_name": "string",
"urls_customizable": true,
"request_token_url": "string",
"authorization_url": "string",
"access_token_url": "string",
"profile_url": "string",
"oidc_well_known_url": "string",
"oidc_jwks_url": "string"
},
"oidc_well_known_url": "string",
"oidc_jwks_url": "string",
"oidc_jwks": {},
"authorization_code_auth_method": "basic_auth"
}
]
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/sources/oauth/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());