Skip to content

Commit

Permalink
Updates link and upgrades widget
Browse files Browse the repository at this point in the history
  • Loading branch information
vijetmahabaleshwar-okta committed Mar 10, 2021
1 parent 007f408 commit a09e988
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
24 changes: 12 additions & 12 deletions custom-login/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion custom-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@angular/platform-browser-dynamic": "^11.0.9",
"@angular/router": "^11.0.9",
"@okta/okta-angular": "^3.0.1",
"@okta/okta-signin-widget": "^5.0.0",
"@okta/okta-signin-widget": "^5.4.0",
"colors": "^1.4.0",
"core-js": "^3.6.5",
"rxjs": "^6.6.3",
Expand Down
2 changes: 1 addition & 1 deletion custom-login/src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ <h1 class="ui header">Custom Login Page with Sign In Widget</h1>
<div *ngIf="!isAuthenticated">
<p>If you‘re viewing this page then you have successfully started this Angular application.</p>
<p>This example shows you how to use the
<a href="https://github.com/okta/okta-oidc-js/tree/master/packages/okta-angular">Okta Angular Library</a>
<a href="https://github.com/okta/okta-angular/tree/master">Okta Angular Library</a>
and the
<a href="https://github.com/okta/okta-signin-widget">Okta Sign-In Widget</a>
to add the
Expand Down
5 changes: 3 additions & 2 deletions custom-login/src/app/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ export class LoginComponent implements OnInit {
},
authParams: {
issuer: sampleConfig.oidc.issuer
}
},
useInteractionCodeFlow: false // Set to true if your org is OIE enabled
});
}

ngOnInit() {
this.signIn.showSignInToGetTokens({
el: '#sign-in-widget',
Expand Down

0 comments on commit a09e988

Please sign in to comment.