Enable basic auth provider and bump version of lib
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
import {AuthenticationConfig, ORMUserRepository} from '@extollo/lib'
|
||||
import {AuthenticationConfig, ORMUserRepository, BasicLoginProvider} from '@extollo/lib'
|
||||
|
||||
const authConfig: AuthenticationConfig = {
|
||||
storage: ORMUserRepository,
|
||||
providers: {},
|
||||
providers: {
|
||||
basic: {
|
||||
driver: BasicLoginProvider,
|
||||
config: {
|
||||
default: true,
|
||||
allow: {
|
||||
login: true,
|
||||
registration: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default authConfig
|
||||
|
||||
Reference in New Issue
Block a user