Passport

Auth everywhere your users are.

Passport is an OAuth-based authentication and authorization gateway for your app that is hosted and customizable with your domain. It requires minimal integration and can be accessed on any device (desktop, web, mobile) and has the following flow and features.

Auth Flow

Authentication

The authentication step takes care of identifying profiles on the Profile Graph. The authentication method a user chooses acts like a DNS resolver to a users profile. If a profile is not found, one will be created.

Once authenticated the user will be redirected to the authorization screen.

Passport's authentication flow currently supports the following authentication methods and are configurable for your app Console:

  • Connect with Wallet

  • Connect with Email

  • Connect with Passkeys (aka. WebAuthn)

  • Connect with Google

  • Connect with Apple

  • Connect with Twitter

  • Connect with Github

  • Connect with Microsoft

  • Connect with Discord

Authorization

The key feature about Rollup's Profile is the authorization step. Based on what you set as your Scopes in the Console OAuth settings, the user will be presented with a branded authorization request to permission and/or provision access to the users identity features on the Profile Graph.

No scope is equivalent to an auto authorization with access only to public profile information. If no scopes are configured in Console the user will not be presented the authorization screen.

Once authorized the user will be redirected back to your application with the state and exchange code described in the guide to complete the auth flow and receive an access token.

Tokens & Sessions

The passport application is also responsible for issuing access and refresh tokens via the Profile API. It is recommended that these tokens be managed by your application in either a session cookie and/or user record. Tokens can be continuously refreshed so long as the user has not explicitly revoked access.

Authenticated users will also maintain their session with passport for 90 days and that session will be extended long as the user user visits the passport app within the 90 day period. This also means that if your application session expires and the user is redirected to passport you will automatically get another access token and refresh token.

Last updated