Raw
1 type: object
2 description: |-
3 The public information of a registered auth provider instance. This is safe
4 to expose to unauthenticated clients and never contains provider options or
5 secrets.
6 x-schemaName: AuthProvider
7 required:
8 - id
9 - identifier
10 - display_name
11 - flow
12 properties:
13 id:
14 type: string
15 title: id
16 description: |-
17 The registered instance ID of the provider, used in authentication routes
18 (for example, `okta` in `POST /auth/user/okta`).
19 identifier:
20 type: string
21 title: identifier
22 description: The provider's static identifier (for example, `oidc` or `emailpass`).
23 display_name:
24 type: string
25 title: display_name
26 description: The name to display for the provider in a frontend application.
27 flow:
28 type: string
29 description: >-
30 The authentication flow the provider uses:
31
32
33 - `credentials`: the client submits credentials (for example, email and
34
35 password) directly to the authentication route.
36
37 - `redirect`: the client is redirected to the provider (for example, an
38
39 OIDC identity provider) and returns through a callback.
40
41
42 A frontend can use this to decide whether to render a credentials form or
43 a
44
45 "Continue with ..." redirect button.
46 enum:
47 - credentials
48 - redirect