add support for multiple oauth providers

This commit is contained in:
maxDorninger
2025-09-04 17:03:57 +02:00
parent c367e3d898
commit 1f544e55e8
8 changed files with 3890 additions and 3926 deletions

View File

@@ -62,7 +62,7 @@
}
async function handleOauth() {
const { response, data } = await client.GET('/api/v1/auth/cookie/OpenID/authorize', {
const { response, data } = await client.GET(`/api/v1/auth/cookie/${oauthProvider.oauth_name}/authorize`, {
params: {
query: {
scopes: 'email'