Get one strategy (type)
GET/auth/api/login/strategy/:type
Gets details for the one specified strategy type
Request
Path Parameters
The strategy type name of the strategy to retrieve
Responses
- 200
- 404
If existing, the strategy specified
- application/json
- Schema
- Example (from schema)
Schema
The unique (type) name of the strategy
true
iff instances of this strategy have the theoretical capability of logging in users
true
iff instances of this strategy have the theoretical capability
of providing api tokens to the a sync service
true
if to authenticate using this strategy, a redirect of the users browser is required
false
if sending credentials to the token endpoint is enough
true
iff this strategy allows instances to use implicit signup
to register users automatically if they don't have an account but tried to login
The specification of the data expected in the post body if not using redirect and sending the credentials directly to the token endpoint
The actions that can be performed on the strategy instance
The schema of the instance configuration
{
"typeName": "userpass",
"canLoginRegister": true,
"canSync": false,
"needsRedirectFlow": false,
"allowsImplicitSignup": false,
"acceptsVariables": [
{}
],
"updateActions": [
{}
],
"instanceConfigSchema": {}
}
If no strategy with the specified type name exists