Dynamic OauthDriver scope (#544)
* Dynamic OauthDriver scope * support migration for mysql * Refactor default scopes for integrations * Small UI changes * fix flet select tooltip * fix linter * Fix google token size in DB --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
3
client/stores/oauth_providers.js
vendored
3
client/stores/oauth_providers.js
vendored
@@ -7,6 +7,8 @@ export const useOAuthProvidersStore = defineStore("oauth_providers", () => {
|
||||
const contentStore = useContentStore()
|
||||
const alert = useAlert()
|
||||
|
||||
const googleDrivePermission = 'https://www.googleapis.com/auth/drive.file'
|
||||
|
||||
const services = computed(() => {
|
||||
return [
|
||||
{
|
||||
@@ -92,6 +94,7 @@ export const useOAuthProvidersStore = defineStore("oauth_providers", () => {
|
||||
|
||||
return {
|
||||
...contentStore,
|
||||
googleDrivePermission,
|
||||
services,
|
||||
getService,
|
||||
fetchOAuthProviders,
|
||||
|
||||
Reference in New Issue
Block a user