File tree 2 files changed +5
-7
lines changed
sandbox/auth-ms-basic-example/src
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';
9
9
const config = {
10
10
name : AuthCacheSourceName ,
11
11
connector : 'kv-redis' ,
12
- // url: '' ,
12
+ url : process . env . REDIS_URL ,
13
13
host : process . env . REDIS_HOST ,
14
14
port : process . env . REDIS_PORT ,
15
15
password : process . env . REDIS_PASSWORD ,
Original file line number Diff line number Diff line change 5
5
import { BindingScope , injectable } from '@loopback/core' ;
6
6
import { AnyObject , repository } from '@loopback/repository' ;
7
7
import { HttpErrors } from '@loopback/rest' ;
8
- import {
9
- User ,
10
- UserCredentials ,
11
- UserTenant ,
12
- } from '@sourceloop/authentication-service/dist/models' ;
13
8
import {
14
9
AuthClientRepository ,
15
10
RoleRepository ,
11
+ User ,
12
+ UserCredentials ,
16
13
UserRepository ,
14
+ UserTenant ,
17
15
UserTenantRepository ,
18
- } from '@sourceloop/authentication-service/dist/repositories ' ;
16
+ } from '@sourceloop/authentication-service' ;
19
17
import { UserStatus } from '@sourceloop/core' ;
20
18
import { AuthenticateErrorKeys } from '@sourceloop/core/src/enums' ;
21
19
import bcrypt from 'bcrypt' ;
You can’t perform that action at this time.
0 commit comments