Skip to main content

Get one strategy (type)

GET 

/auth/api/login/strategy/:type

Gets details for the one specified strategy type

Request

Path Parameters

    type stringrequired

    The strategy type name of the strategy to retrieve

Responses

If existing, the strategy specified

Schema
    typeName stringrequired

    The unique (type) name of the strategy

    canLoginRegister booleanrequired

    true iff instances of this strategy have the theoretical capability of logging in users

    canSync booleanrequired

    true iff instances of this strategy have the theoretical capability of providing api tokens to the a sync service

    needsRedirectFlow booleanrequired

    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

    allowsImplicitSignup booleanrequired

    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

    acceptsVariables object[]required

    The specification of the data expected in the post body if not using redirect and sending the credentials directly to the token endpoint

    updateActions object[]required

    The actions that can be performed on the strategy instance

    instanceConfigSchema objectrequired

    The schema of the instance configuration

Loading...