Applications (OAuth)
Register an application when you build (or buy) software that should let its users sign in with Breign and work with their Breign agents on their behalf. Breign acts as an OAuth 2 / OpenID Connect provider: the application redirects users to Breign, they consent, and the application receives tokens.
Before you start​
- Only organization administrators can register applications, and the feature must be enabled on your platform.
- Know the application's redirect addresses (where Breign sends users back after sign-in).
Register an application​
- On the Organization side, open Settings, then Applications.
- Click New application.
- Choose the Application type:
- With a server: a web application with a back end that can keep a secret;
- Web without a server: a single-page application in the browser;
- Mobile or desktop: a native application.
- Enter the Redirect URIs.
- Optionally mark it as a Trusted application.
- Create it. For an application with a server, copy the client secret now: it's shown only once. Regenerate the secret replaces it.
The application page gives the integration details for its developers: the OpenID discovery address and the scopes available.
What users see​
When a user signs in through the application, Breign asks Authorize {app}?, lists what the application will be able to do (see their email and name, stay signed in, act on their behalf in the organization with their rights), and offers Authorize or Deny. Users who aren't members of your organization can't authorize it.
Users can withdraw access at any time from Account settings › Connected applications. See Account settings.
If something goes wrong​
- Users see "Unable to sign in" with "The application asked to return to an address that is not allowed.": add that address to the Redirect URIs.
- "This application was disabled by the organization that manages it.": re-enable it on the application page.
- "Access not possible": the user isn't a member of your organization. Invite them.
- You don't see Applications: you aren't an administrator, or the feature isn't enabled on your platform.