FNLB Devs

Developer Portal

Getting Started

Applications

Applications are the OAuth2 clients for this account. Each one has its own client id, client secret, redirect URIs, and scopes. A personal API token is separate: that comes from your FNLB account, and it is covered in Authenticating.

Create an application

  1. Open Applications

    Use Applications in the sidebar, or open Applications.

  2. Create the client

    Choose Create Application and give it a name. You land on its settings.

  3. Copy the credentials

    Copy the client id and client secret. The secret is shown so you can store it. Treat it like a password.

  4. Add redirect URIs

    Open the OAuth2 tab and add every URL that may receive an authorization code. The authorize URL on that tab is built from the redirect URI and scopes you select.

FNLB OAuth2 Application
Application settings, with the client id and client secret

What each field is for

  • Client id identifies the application. It is safe to put in the authorize URL.
  • Client secret proves the application when you exchange a code at POST /oauth2/token. It starts with FNLBOA2S_. Send it from your server only.
  • Redirect URIs are the only places FNLB will send a user after they approve the app.
  • Scopes are the permissions users can grant. Turn a scope on here first. The authorize URL can only request scopes this application allows. The route then checks the token again. See Scopes.

Next

  • OAuth2

    Send the user to the authorize URL and exchange the code.

  • Authenticating

    Call the API with the access token you receive.