@contrail/cli 1.0.38 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/auth/login.js +2 -2
- package/package.json +1 -1
- package/src/auth/login.ts +2 -2
package/lib/auth/login.js
CHANGED
|
@@ -4,8 +4,8 @@ import { Request, setConfig as setSdkConfig } from '@contrail/sdk';
|
|
|
4
4
|
import { Auth } from './auth';
|
|
5
5
|
import { getConfig, storeConfig } from '../config/config';
|
|
6
6
|
const CONFIGURATION = {
|
|
7
|
-
userPoolId: 'us-east-
|
|
8
|
-
clientId: process.env.CONTRAIL_COGNITO_CLIENT_ID || '
|
|
7
|
+
userPoolId: 'us-east-1_qIaNZdUfm',
|
|
8
|
+
clientId: process.env.CONTRAIL_COGNITO_CLIENT_ID || '7knkt34gfacbgd0ghnuspefdfg',
|
|
9
9
|
};
|
|
10
10
|
export async function authUser() {
|
|
11
11
|
console.debug('authorizing user');
|
package/package.json
CHANGED
package/src/auth/login.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { Auth, AuthContext } from './auth';
|
|
|
5
5
|
import { getConfig, storeConfig } from '../config/config';
|
|
6
6
|
|
|
7
7
|
const CONFIGURATION = {
|
|
8
|
-
userPoolId: 'us-east-
|
|
9
|
-
clientId: process.env.CONTRAIL_COGNITO_CLIENT_ID || '
|
|
8
|
+
userPoolId: 'us-east-1_qIaNZdUfm',
|
|
9
|
+
clientId: process.env.CONTRAIL_COGNITO_CLIENT_ID || '7knkt34gfacbgd0ghnuspefdfg',
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export async function authUser(): Promise<AuthContext> {
|