This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/schemas/scim-serviceProviderConfig.schema.json
Jens L 28ddeb124f
providers: SCIM (#4835)
* basic user sync

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add group sync and some refactor

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* start API

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* allow null authorization flow

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add UI

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make task monitored

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add missing dependency

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make authorization_flow required for most providers via API

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* more UI

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make task result better readable, exclude anonymous user

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add task UI

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add scheduled task for all sync

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make scim errors more readable

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add mappings, migrate to mappings

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add mapping UI and more

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add scim docs to web

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* start implementing membership

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* migrate signals to tasks

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* migrate fully to tasks

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* strip none keys, fix lint errors

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix things

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* start adding tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix saml

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add scim schemas and validate against it

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* improve error handling

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add group put support, add group tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* send correct application/scim+json headers

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* stop sync if no mappings are confiugred

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add test for task sync

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add membership tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* use decorator for tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make tests better

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-03-06 19:39:08 +01:00

140 lines
4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig",
"title": "Service Provider Configuration",
"description": "Schema for representing the service provider's configuration",
"type": "object",
"properties": {
"documentationUri": {
"description": "An HTTP-addressable URL pointing to the service provider's human-consumable help documentation.",
"type": "string",
"format": "uri",
"readOnly": true
},
"patch": {
"description": "A complex type that specifies PATCH configuration options.",
"type": "object",
"properties": {
"supported": {
"description": "A Boolean value specifying whether or not the operation is supported.",
"type": "boolean",
"readOnly": true
}
},
"required": [
"supported"
],
"readOnly": true
},
"bulk": {
"description": "A complex type that specifies bulk configuration options.",
"type": "object",
"properties": {
"supported": {
"description": "A Boolean value specifying whether or not the operation is supported.",
"type": "boolean",
"readOnly": true
}
},
"required": [
"supported"
],
"readOnly": true
},
"filter": {
"description": "A complex type that specifies FILTER options.",
"type": "object",
"properties": {
"supported": {
"description": "A Boolean value specifying whether or not the operation is supported.",
"type": "boolean",
"readOnly": true
},
"maxResults": {
"description": "A Boolean value specifying whether or not the operation is supported.",
"type": "integer",
"readOnly": true
}
},
"required": [
"supported"
],
"readOnly": true
},
"changePassword": {
"description": "A complex type that specifies configuration options related to changing a password.",
"type": "object",
"properties": {
"supported": {
"description": "A Boolean value specifying whether or not the operation is supported.",
"type": "boolean",
"readOnly": true
}
},
"required": [
"supported"
],
"readOnly": true
},
"sort": {
"description": "A complex type that specifies sort result options.",
"type": "object",
"properties": {
"supported": {
"description": "A Boolean value specifying whether or not the operation is supported.",
"type": "boolean",
"readOnly": true
}
},
"required": [
"supported"
],
"readOnly": true
},
"authenticationSchemes": {
"description": "A complex type that specifies supported authentication scheme properties.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The common authentication scheme name, e.g., HTTP Basic.",
"type": "string",
"readOnly": true
},
"description": {
"description": "A description of the authentication scheme.",
"type": "string",
"readOnly": true
},
"specUri": {
"description": "An HTTP-addressable URL pointing to the authentication scheme's specification.",
"type": "string",
"format": "uri",
"readOnly": true
},
"documentationUri": {
"description": "An HTTP-addressable URL pointing to the authentication scheme's usage documentation.",
"type": "string",
"readOnly": true
}
},
"required": [
"name",
"description"
],
"readOnly": true
},
"readOnly": true
}
},
"required": [
"patch",
"bulk",
"filter",
"changePassword",
"sort",
"authenticationSchemes"
]
}