File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
sandbox/auth-ms-basic-example/src Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import {AuthCacheSourceName} from '@sourceloop/authentication-service';
99const config = {
1010 name : AuthCacheSourceName ,
1111 connector : 'kv-redis' ,
12- // url: '' ,
12+ url : process . env . REDIS_URL ,
1313 host : process . env . REDIS_HOST ,
1414 port : process . env . REDIS_PORT ,
1515 password : process . env . REDIS_PASSWORD ,
Original file line number Diff line number Diff line change 55import { BindingScope , injectable } from '@loopback/core' ;
66import { AnyObject , repository } from '@loopback/repository' ;
77import { HttpErrors } from '@loopback/rest' ;
8- import {
9- User ,
10- UserCredentials ,
11- UserTenant ,
12- } from '@sourceloop/authentication-service/dist/models' ;
138import {
149 AuthClientRepository ,
1510 RoleRepository ,
11+ User ,
12+ UserCredentials ,
1613 UserRepository ,
14+ UserTenant ,
1715 UserTenantRepository ,
18- } from '@sourceloop/authentication-service/dist/repositories ' ;
16+ } from '@sourceloop/authentication-service' ;
1917import { UserStatus } from '@sourceloop/core' ;
2018import { AuthenticateErrorKeys } from '@sourceloop/core/src/enums' ;
2119import bcrypt from 'bcrypt' ;
You can’t perform that action at this time.
0 commit comments