mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-21 13:25:14 +02:00
add support for multiple oauth providers
This commit is contained in:
@@ -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