ENVIRMENT CHANGES FOR IDENTITY PROVIDER

This commit is contained in:
Velz2020 2019-07-09 18:13:05 +05:30
parent 5bb486805f
commit d1dbfe6fe3
4 changed files with 9 additions and 8 deletions

View File

@ -186,7 +186,7 @@ export class AwsService {
config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({ config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({
IdentityPoolId: sineedgeIdentity, // for sineedge_DEV IdentityPoolId: sineedgeIdentity, // for sineedge_DEV
Logins: { Logins: {
"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO": session [environment.login_string]: session
.getIdToken() .getIdToken()
.getJwtToken() .getJwtToken()
} }
@ -253,7 +253,7 @@ export class AwsService {
AWS.config.credentials = new AWS.CognitoIdentityCredentials({ AWS.config.credentials = new AWS.CognitoIdentityCredentials({
IdentityPoolId: sineedgeIdentity, // for sineedge_DEV IdentityPoolId: sineedgeIdentity, // for sineedge_DEV
Logins: { Logins: {
"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO": session [environment.login_string]: session
.getIdToken() .getIdToken()
.getJwtToken() .getJwtToken()
} }

View File

@ -5,8 +5,8 @@ export const environment = {
apiEndpoint: 'https://pdgenie.com/sparqprod/api/', apiEndpoint: 'https://pdgenie.com/sparqprod/api/',
authorization: 'TnAwuc64pVpcB9xf', authorization: 'TnAwuc64pVpcB9xf';
login_string: "cognito-idp.ap-south-1.amazonaws.com/ap-south-1_MlTee1O5V";
seIdentityPoolId: 'ap-south-1:31774418-8384-4fbb-b3e2-b87ce0f26ef1', seIdentityPoolId: 'ap-south-1:31774418-8384-4fbb-b3e2-b87ce0f26ef1',
seUserPoolId: 'ap-south-1_MlTee1O5V', // UserName seUserPoolId: 'ap-south-1_MlTee1O5V', // UserName
seClientId: '7sd1jutija6hkrq5m7tegf3mvq',// ClientName seClientId: '7sd1jutija6hkrq5m7tegf3mvq',// ClientName

View File

@ -5,8 +5,8 @@ export const environment = {
apiEndpoint: 'https://ssa.sineedge.com/sparqtest/api/', apiEndpoint: 'https://ssa.sineedge.com/sparqtest/api/',
authorization: 'sparqvenba2018', authorization: 'sparqvenba2018';
login_string: "cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO";
seIdentityPoolId: 'ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961', seIdentityPoolId: 'ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961',
seUserPoolId: 'ap-south-1_qQ85yQZJO', seUserPoolId: 'ap-south-1_qQ85yQZJO',
seClientId: '67b4fnbuols5upms5to8bvqddh', seClientId: '67b4fnbuols5upms5to8bvqddh',

View File

@ -22,7 +22,8 @@ export const environment = {
appId: "1:627754063571:web:8cfa56d80607267b" appId: "1:627754063571:web:8cfa56d80607267b"
}, },
region: 'ap-south-1', region: 'ap-south-1';
login_string: "cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO";
// identityPoolId: 'ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961', // identityPoolId: 'ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961',
// UserPoolId: 'ap-south-1_qQ85yQZJO', // UserPoolId: 'ap-south-1_qQ85yQZJO',