mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-21 08:15:36 +02:00
add support for multiple oauth providers
This commit is contained in:
7533
web/src/lib/api/api.d.ts
vendored
7533
web/src/lib/api/api.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user