www/src/app/configs/oauth2.config.ts

14 lines
383 B
TypeScript

import {OAuth2Client, OAuth2Scope, env} from '@extollo/lib'
export default {
secret: env('OAUTH2_SECRET'),
scopes: {
'user-info': {
id: 'user-info',
name: 'user-info',
description: 'access basic information about your account',
},
} as {[key: string]: OAuth2Scope},
clients: {} as {[key: string]: OAuth2Client},
}