You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
470 B
20 lines
470 B
import {AuthenticationConfig, ORMUserRepository, BasicLoginProvider} from '@extollo/lib'
|
|
|
|
const authConfig: AuthenticationConfig = {
|
|
storage: ORMUserRepository,
|
|
providers: {
|
|
basic: {
|
|
driver: BasicLoginProvider,
|
|
config: {
|
|
default: true,
|
|
allow: {
|
|
login: true,
|
|
registration: true,
|
|
},
|
|
},
|
|
}
|
|
},
|
|
}
|
|
|
|
export default authConfig
|