Skip to main content

Link new authentication with current user

POST 

/login/registration/self-link

Links a new authentication with a strategy instance with the currently logged in user. For future logins using that authentication the user will be directly found

A (still) valid registration token is needed. After a successful linking, the expiration of the activeLogin and loginData will be updated accoringly

Request

Body

required
    register_token stringrequired

    The register token issued during as result of the oauth registration flow. Scope of the token must contain "login-register".

    Must be given.

Responses

If successful, the default response with operation 'self-link'

Schema
    operation stringrequired

    A string representation of the operation performed

    result stringrequired

    Possible values: [success, failed]

    Default value: success

    The result of the operation. Defaults to "success"

    time date-timerequired

    Default value: 2024-07-03T21:50:49.978Z

    The time the operation was performed. Defaults to the current date+time

Loading...