Skip to content

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `GET` /providers/oauth2/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `redirect_uris`

    * Changed property `redirect_uris` (string -> array)

##### `PUT` /providers/oauth2/{id}/

###### Request:

Changed content type : `application/json`

New required properties:
- `redirect_uris`

* Changed property `redirect_uris` (string -> array)

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `redirect_uris`

    * Changed property `redirect_uris` (string -> array)

##### `PATCH` /providers/oauth2/{id}/

###### Request:

Changed content type : `application/json`

* Changed property `redirect_uris` (string -> array)

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `redirect_uris`

    * Changed property `redirect_uris` (string -> array)

##### `POST` /providers/oauth2/

###### Request:

Changed content type : `application/json`

New required properties:
- `redirect_uris`

* Changed property `redirect_uris` (string -> array)

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    New required properties:
    - `redirect_uris`

    * Changed property `redirect_uris` (string -> array)

##### `GET` /providers/oauth2/

###### Parameters:

Deleted: `redirect_uris` in `query`

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > OAuth2Provider Serializer

        New required properties:
        - `redirect_uris`

        * Changed property `redirect_uris` (string -> array)

##### `GET` /providers/proxy/

###### Parameters:

Deleted: `redirect_uris__iexact` in `query`

##### `GET` /oauth2/access_tokens/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider` (object)
        > OAuth2Provider Serializer

        New required properties:
        - `redirect_uris`

        * Changed property `redirect_uris` (string -> array)

##### `GET` /oauth2/authorization_codes/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider` (object)
        > OAuth2Provider Serializer

        New required properties:
        - `redirect_uris`

        * Changed property `redirect_uris` (string -> array)

##### `GET` /oauth2/refresh_tokens/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider` (object)
        > OAuth2Provider Serializer

        New required properties:
        - `redirect_uris`

        * Changed property `redirect_uris` (string -> array)

##### `PUT` /core/transactional/applications/

###### Request:

Changed content type : `application/json`

* Changed property `provider` (object)

    Updated `authentik_providers_oauth2.oauth2provider` provider_model:
    New required properties:
    - `redirect_uris`

    * Changed property `redirect_uris` (string -> array)

##### `GET` /oauth2/access_tokens/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for BaseGrantModel and RefreshToken

        * Changed property `provider` (object)
            > OAuth2Provider Serializer

            New required properties:
            - `redirect_uris`

            * Changed property `redirect_uris` (string -> array)

##### `GET` /oauth2/authorization_codes/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for BaseGrantModel and ExpiringBaseGrant

        * Changed property `provider` (object)
            > OAuth2Provider Serializer

            New required properties:
            - `redirect_uris`

            * Changed property `redirect_uris` (string -> array)

##### `GET` /oauth2/refresh_tokens/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Serializer for BaseGrantModel and RefreshToken

        * Changed property `provider` (object)
            > OAuth2Provider Serializer

            New required properties:
            - `redirect_uris`

            * Changed property `redirect_uris` (string -> array)
  • Loading branch information
authentik-automation[bot] committed Nov 21, 2024
1 parent cebc48b commit bb7aba5
Show file tree
Hide file tree
Showing 19 changed files with 855 additions and 170 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ docs/LoginChallengeTypes.md
docs/LoginMetrics.md
docs/LoginSource.md
docs/ManagedAPI.md
docs/MatchingModeEnum.md
docs/Metadata.md
docs/MicrosoftEntraProvider.md
docs/MicrosoftEntraProviderGroup.md
Expand Down Expand Up @@ -576,6 +577,8 @@ docs/RadiusProviderPropertyMappingRequest.md
docs/RadiusProviderRequest.md
docs/RbacAPI.md
docs/RedirectChallenge.md
docs/RedirectURI.md
docs/RedirectURIRequest.md
docs/Reputation.md
docs/ReputationPolicy.md
docs/ReputationPolicyRequest.md
Expand Down Expand Up @@ -934,6 +937,7 @@ model_log_level_enum.go
model_login_challenge_types.go
model_login_metrics.go
model_login_source.go
model_matching_mode_enum.go
model_metadata.go
model_microsoft_entra_provider.go
model_microsoft_entra_provider_group.go
Expand Down Expand Up @@ -1258,6 +1262,8 @@ model_radius_provider_property_mapping.go
model_radius_provider_property_mapping_request.go
model_radius_provider_request.go
model_redirect_challenge.go
model_redirect_uri.go
model_redirect_uri_request.go
model_reputation.go
model_reputation_policy.go
model_reputation_policy_request.go
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,7 @@ Class | Method | HTTP request | Description
- [LoginChallengeTypes](docs/LoginChallengeTypes.md)
- [LoginMetrics](docs/LoginMetrics.md)
- [LoginSource](docs/LoginSource.md)
- [MatchingModeEnum](docs/MatchingModeEnum.md)
- [Metadata](docs/Metadata.md)
- [MicrosoftEntraProvider](docs/MicrosoftEntraProvider.md)
- [MicrosoftEntraProviderGroup](docs/MicrosoftEntraProviderGroup.md)
Expand Down Expand Up @@ -1499,6 +1500,8 @@ Class | Method | HTTP request | Description
- [RadiusProviderPropertyMappingRequest](docs/RadiusProviderPropertyMappingRequest.md)
- [RadiusProviderRequest](docs/RadiusProviderRequest.md)
- [RedirectChallenge](docs/RedirectChallenge.md)
- [RedirectURI](docs/RedirectURI.md)
- [RedirectURIRequest](docs/RedirectURIRequest.md)
- [Reputation](docs/Reputation.md)
- [ReputationPolicy](docs/ReputationPolicy.md)
- [ReputationPolicyRequest](docs/ReputationPolicyRequest.md)
Expand Down
131 changes: 100 additions & 31 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22431,13 +22431,6 @@ paths:
type: string
type: array
style: form
- explode: true
in: query
name: redirect_uris
required: false
schema:
type: string
style: form
- explode: true
in: query
name: refresh_token_validity
Expand Down Expand Up @@ -22927,13 +22920,6 @@ paths:
type: string
type: array
style: form
- explode: true
in: query
name: redirect_uris__iexact
required: false
schema:
type: string
style: form
- description: A search term.
explode: true
in: query
Expand Down Expand Up @@ -46395,7 +46381,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -50300,6 +50290,11 @@ components:
- challenge
- name
type: object
MatchingModeEnum:
enum:
- strict
- regex
type: string
Metadata:
description: Serializer for blueprint metadata
properties:
Expand Down Expand Up @@ -51061,7 +51056,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -51172,8 +51171,9 @@ components:
nullable: true
type: string
redirect_uris:
description: Enter each URI on a new line.
type: string
items:
$ref: '#/components/schemas/RedirectURI'
type: array
sub_mode:
allOf:
- $ref: '#/components/schemas/SubModeEnum'
Expand Down Expand Up @@ -51202,6 +51202,7 @@ components:
- meta_model_name
- name
- pk
- redirect_uris
- verbose_name
- verbose_name_plural
type: object
Expand All @@ -51211,7 +51212,11 @@ components:
signing_key: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
invalidation_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
client_type: ""
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
sub_mode: ""
client_id: client_id
refresh_token_validity: refresh_token_validity
Expand Down Expand Up @@ -51296,8 +51301,9 @@ components:
nullable: true
type: string
redirect_uris:
description: Enter each URI on a new line.
type: string
items:
$ref: '#/components/schemas/RedirectURIRequest'
type: array
sub_mode:
allOf:
- $ref: '#/components/schemas/SubModeEnum'
Expand All @@ -51319,6 +51325,7 @@ components:
- authorization_flow
- invalidation_flow
- name
- redirect_uris
type: object
OAuth2ProviderSetupURLs:
description: OAuth2 Provider Metadata serializer
Expand Down Expand Up @@ -53963,7 +53970,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -54036,7 +54047,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -55848,7 +55863,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -55879,7 +55898,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -58677,7 +58700,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -58752,7 +58779,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down Expand Up @@ -62353,7 +62384,11 @@ components:
signing_key: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
invalidation_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
client_type: ""
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
sub_mode: ""
client_id: client_id
refresh_token_validity: refresh_token_validity
Expand Down Expand Up @@ -62438,8 +62473,9 @@ components:
nullable: true
type: string
redirect_uris:
description: Enter each URI on a new line.
type: string
items:
$ref: '#/components/schemas/RedirectURIRequest'
type: array
sub_mode:
allOf:
- $ref: '#/components/schemas/SubModeEnum'
Expand Down Expand Up @@ -66795,6 +66831,35 @@ components:
required:
- to
type: object
RedirectURI:
description: A single allowed redirect URI entry
example:
matching_mode: strict
url: url
properties:
matching_mode:
$ref: '#/components/schemas/MatchingModeEnum'
url:
type: string
required:
- matching_mode
- url
type: object
RedirectURIRequest:
description: A single allowed redirect URI entry
example:
matching_mode: strict
url: url
properties:
matching_mode:
$ref: '#/components/schemas/MatchingModeEnum'
url:
minLength: 1
type: string
required:
- matching_mode
- url
type: object
Reputation:
description: Reputation Serializer
example:
Expand Down Expand Up @@ -70029,7 +70094,11 @@ components:
property_mappings:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
redirect_uris: redirect_uris
redirect_uris:
- matching_mode: strict
url: url
- matching_mode: strict
url: url
authentication_flow: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
component: component
verbose_name: verbose_name
Expand Down
18 changes: 0 additions & 18 deletions api_providers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions docs/MatchingModeEnum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# MatchingModeEnum

## Enum


* `STRICT` (value: `"strict"`)

* `REGEX` (value: `"regex"`)


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit bb7aba5

Please sign in to comment.