Get one strategy instance
GET/login/strategyInstance/: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
The uuid string of an existing strategy instance to get
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
{@link StrategyInstance.id}
{@link StrategyInstance.name}
{@link StrategyInstance.type}
{@link StrategyInstance.isLoginActive}
{@link StrategyInstance.isSelfRegisterActive}
{@link StrategyInstance.isSyncActive}
{@link StrategyInstance.doesImplicitRegister}
urls object
The url to post credentials to, to log in using this strategy instance.
Additionally `grant_type? must be set to "password" and the client must authenticate
The url to post credentials to, to register or link without sync using this strategy instance.
Additionally `grant_type? must be set to "password" and the client must authenticate
The url to post credentials to, to register or link with avtivated sync functionality
Additionally `grant_type? must be set to "password" and the client must authenticate
The url to redirect the user to, to log in using this strategy
On the request, the query parameter client_id
must be set
The url to redirect the user to, to register or link without sync using this strategy instance.
On the request, the query parameter client_id
must be set
The url to redirect the user to, to register or link with avtivated sync functionality
On the request, the query parameter client_id
must be set
{
"id": "string",
"name": "string",
"type": "string",
"isLoginActive": true,
"isSelfRegisterActive": true,
"isSyncActive": true,
"doesImplicitRegister": true,
"urls": {
"postLogin": "string",
"postRegister": "string",
"postRegisterSync": "string",
"redirectLogin": "string",
"redirectRegister": "string",
"redirectRegisterSync": "string"
}
}
If no strategy with the given id (and type) are found