api: add v3

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-09-02 17:40:02 +02:00
parent 5e200655d9
commit f0db408699
13 changed files with 323 additions and 1416 deletions

View File

@ -50,7 +50,7 @@ export function tenant(): Promise<CurrentTenant> {
}
export const DEFAULT_CONFIG = new Configuration({
basePath: "",
basePath: "/api/v3",
headers: {
"X-CSRFToken": getCookie("authentik_csrf"),
},