Skip to main content

Return username, display name and email suggestions for registering a user

POST 

/login/registration/data-suggestion

Return username, display name and email suggestions for registering a user

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 valid token and successfull (partial) suggested data for the new user

Schema
    status stringrequired

    Possible values: [already-registered, username-taken, no-data, ok]

    Status of the returned user data suggestion and information on usability

    username string

    A potential username to use for the registration. If one is given, it was free the moment the suggestion is retrieved

    displayName string

    A potential name to display in the UI for the new user.

    email string

    A potential email of the new user.

Loading...