-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configured federated login with Amazon Cognito to provide a SSO page.…
… Amazon Congnito, Google and Facebook integration is configured and working, but the user credentials are not used in the app yet. Added "Federated Login" menu item on the Account menu for testing.
- Loading branch information
Showing
9 changed files
with
103 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"auth": { | ||
"gohomenotesed112ed1": { | ||
"service": "Cognito", | ||
"providerPlugin": "awscloudformation", | ||
"dependsOn": [] | ||
} | ||
} | ||
"auth": { | ||
"gohomenotesed112ed1": { | ||
"service": "Cognito", | ||
"providerPlugin": "awscloudformation", | ||
"dependsOn": [] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | ||
import { ProdConfig } from './blocks/config/prod.config'; | ||
import { AppModule } from './app.module'; | ||
import Amplify from 'aws-amplify'; | ||
import awsconfig from '../../../aws-exports'; | ||
|
||
Amplify.configure(awsconfig); | ||
|
||
ProdConfig(); | ||
|
||
if (module['hot']) { | ||
module['hot'].accept(); | ||
module['hot'].accept(); | ||
} | ||
|
||
platformBrowserDynamic() | ||
.bootstrapModule(AppModule, { preserveWhitespaces: true }) | ||
.then(success => console.log(`Application started`)) | ||
.catch(err => console.error(err)); | ||
.bootstrapModule(AppModule, { preserveWhitespaces: true }) | ||
.then(success => console.log(`Application started`)) | ||
.catch(err => console.error(err)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters