sign in

This block is part of the users group and was last modified in core v12.0.1.

sign in v12.0.1

let a user be able to login

In pins 3 + flow
  • flow
    flow
  • User ID required
    value

    The ID of the user (eg: username, email, code).

  • Password required
    value

    Password for the given user.

  • Expire at v10.6.2
    date

    The date/time this login session should expire.

Out pins 8 + flow
  • flow
    flow
  • Success
    condition

    Check if the user successfully signed in!

  • error
    value

    When success is false, The error shows here

  • Auth
    object

    Auth object containing access token and maxAge

  • Accesstoken v12.0.1
    value
  • User
    object
  • Need 2FA
    condition
  • 2FA methods
    array

    The 2FA methods that are enabled and configured for this user

  • Default 2FA method
    value

    The 2FA method the user has selected to be the users default

login
signin

A typical wiring for sign in: plus days feeds the expiry_date pin; delay feeds the flow pin; substring feeds the user_id pin; value feeds the password pin; the flow out pin feeds branch; the error out pin feeds log.

Studio canvas example for the sign in block: typical wiring for sign in.

Commonly used with

In production blueprints, this block is most often wired together with:

  • branch: this block feeds into it.
  • new object: this block feeds into it. Builds a new object filled with the given fields.
  • plus days: feeds into this block. Plus an selected amount of days to your given date.
  • log: this block feeds into it.
  • delay: feeds into this block. generate a delay in seconds.
  • get fields: feeds into this block. Gets the selected fields from the given object.

Version history

Introduced in v12.0.1.

v10.6.2 This block or one of its pins was updated in v10.6.2, click here to see the release notes.
Back to users Return to the main group to view all sub-groups Back to user management Return to the group to view all blocks within this group