Replace an OIDC server
put
/admin/oidcServers/{id}
Request
Path Parameters
-
id(required): string
The id of the OIDCServer to be updated
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
description: string
meant to capture record level documentation
-
fabric-default-client-credentials: object
fabric-default-client-credentials
Configuration for those cases where Industries Framework has to create tokens for itself as client. This is also the case when the token is created for a user, but the WorkspaceClient of the application calling Industries Framework specifies client-identity-propagation-required being false and the provider application also specfies client-identity-propagation-required being false in the TargetInstanceConfig. This is always the case when the backend relies on role-based access only and is not interested in the frontend application's identity.
-
oidc-server-api-audience: string
the audience of the OpenID Connect API on the OIDC Server
-
oidc-server-link-key: string
-
oidc-server-url: string
(url)
the URL of the OpenID Connect Server
-
scope: string
the scope of the OpenID Connect API on the OIDC Server
Nested Schema : fabric-default-client-credentials
Type:
object
Configuration for those cases where Industries Framework has to create tokens for itself as client. This is also the case when the token is created for a user, but the WorkspaceClient of the application calling Industries Framework specifies client-identity-propagation-required being false and the provider application also specfies client-identity-propagation-required being false in the TargetInstanceConfig. This is always the case when the backend relies on role-based access only and is not interested in the frontend application's identity.
Show Source
-
client-id: string
-
client-secret: string
reference to the secret that contains the OAuth 2 client secret
-
signing-key: string
reference to the secret that contains the RFC7523 request signing key
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : OIDCServer
Type:
Show Source
object
-
description: string
meant to capture record level documentation
-
fabric-default-client-credentials:
-
id: string
-
oidc-server-api-audience: string
the audience of the OpenID Connect API on the OIDC Server
-
oidc-server-link-key: string
-
oidc-server-url: string
(url)
the URL of the OpenID Connect Server
-
scope: string
the scope of the OpenID Connect API on the OIDC Server
400 Response
Bad Request
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
401 Response
Unauthorized
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
403 Response
Forbidden
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
404 Response
Not Found
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
409 Response
Conflict
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
500 Response
Internal Server Error
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
Examples
The following example shows how to replace an oidc server by submitting a PUT request on the REST resource using cURL.
cURL Command
curl -H 'Authorization: Bearer <Token>' -X PUT
https://{FABRIC_HOST}/admin/oidcServers/{id} -H "Content-Type:
application/json" -D @replace_OIDCServers.json | json_pp
Example of Request Body
The following shows an example of the request body in JSON format.
{ "oidc-server-link-key": "buying", "oidc-server-url": "http://testbuying", "oidc-server-api-audience": "test", "scope": "test", "fabric-client-credentials": { "client-id": "csdhsdkj1wenkwqdnwcsdfsd33e", "client-secret": "s213q-wen23e2kwe-dsfdfdefd", "signing-key": "2jdpwe-dksckjdcd-1dewdecw" } }
Example of Response Body
The following shows an example of the response body in JSON format.
{ "oidc-server-url": "http://testbuying", "oidc-server-api-audience": "test", "scope": "test", "id": "buying", "oidc-server-link-key": "buying", "fabric-client-credentials": {} }