Get one strategy instance
GET/auth/api/login/strategy/:type/instance/:id
Gets one strategy instance by the specified id. If the type is specified, only instances of that type will be looked at
Request
Path Parameters
id uuidrequired
The uuid string of an existing strategy instance to get
type stringrequired
The strategy type name of which to search for the instance. Defaults to all types
Responses
- 200
- 404
The requested strategy instance wiht additional data for its use
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
{@link StrategyInstance.id}
name stringnullablerequired
{@link StrategyInstance.name}
type stringrequired
{@link StrategyInstance.type}
isLoginActive booleanrequired
{@link StrategyInstance.isLoginActive}
isSelfRegisterActive booleanrequired
{@link StrategyInstance.isSelfRegisterActive}
isSyncActive booleanrequired
{@link StrategyInstance.isSyncActive}
doesImplicitRegister booleanrequired
{@link StrategyInstance.doesImplicitRegister}
instanceConfig objectrequired
Instance config with sensitive data removed
{@link StrategyInstance.instanceConfig}
{
"id": "string",
"name": "string",
"type": "string",
"isLoginActive": true,
"isSelfRegisterActive": true,
"isSyncActive": true,
"doesImplicitRegister": true,
"instanceConfig": {}
}
If no strategy with the given id (and type) are found
Loading...