mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(config): ✨ Allow frontend route customization and forcing OIDC
This commit is contained in:
parent
b34166de93
commit
2db4f25ba6
11 changed files with 108 additions and 59 deletions
|
|
@ -4,7 +4,9 @@ The frontend API contains endpoints that are useful for frontend developers. The
|
|||
|
||||
## Routes that the Frontend must implement
|
||||
|
||||
- `GET /oauth/authorize` (NOT `POST`): Identifier/password login form, submits to [`POST /api/auth/login`](#sign-in) or OpenID Connect flow.
|
||||
These routes can be set to a different URL in the Lysand configuration, at `frontend.routes`. The frontend must implement these routes for the instance to function correctly.
|
||||
|
||||
- `GET /oauth/authorize`: (NOT `POST`): Identifier/password login form, submits to [`POST /api/auth/login`](#sign-in) or OpenID Connect flow.
|
||||
- `GET /oauth/consent`: Consent form, submits to [`POST /api/auth/redirect`](#consent)
|
||||
|
||||
## Get Frontend Configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue