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

14 lines
383 B
TypeScript
Raw Normal View History

import {OAuth2Client, OAuth2Scope, env} from '@extollo/lib'
2022-03-29 12:55:55 +00:00
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},
2022-03-29 12:55:55 +00:00
}