Skip to main content

Building an authentication flow

Deck provides three ways to authenticate your users to their data sources.

How Deck authenticates users

1

User provides credentials

Your user enters their credentials to authenticate with their data source.
2

Credentials sent to Deck

Credentials are securely transmitted to Deck for authentication.
3

Deck authenticates with data source

Deck establishes a connection with the data source on behalf of your user, handling MFA if required.
4

Access token delivered via webhook

Once authentication succeeds, Deck sends an access_token to your webhook endpoint.
5

Run jobs with access token

Use the access_token to run jobs and access data on behalf of your user.
I