Skip to content

Configure basebox

Both broker and dbproxy have a config file that needs to contain information about the authentication tenant and application in a section named [auth]. The 2 fields you have to set are:

iss

This is the content of the *Domain* field in the Settings tab; it usually has the form `<tenant-name>.<region-code>.auth0.com`, prefixed with `https://`

aud

In the left menu column, click on *Settings*; this takes you to the *Tenant Settings* page.  Scroll down to the *API Authorization Settings*  block and copy/edit the *Default Audience* field.

Example Config

[auth] section in both broker's and dbproxy's config file:

[auth]
iss = "https://basebox-test-1.eu.auth0.com/"
aud = "my-app"