15 lines
329 B
TypeScript
15 lines
329 B
TypeScript
![]() |
import { Configuration } from 'oidc-provider';
|
||
|
|
||
|
const config: Configuration = {
|
||
|
clients: [
|
||
|
{
|
||
|
client_id: 'example-client',
|
||
|
client_secret: 'example-secret',
|
||
|
grant_types: ['authorization_code'],
|
||
|
redirect_uris: ['http://localhost:3000/cb'],
|
||
|
},
|
||
|
],
|
||
|
// 其他配置项...
|
||
|
};
|
||
|
|
||
|
export default config;
|