Created
October 26, 2018 13:56
-
-
Save alx-andru/352e7543f6ec9e6cfc17280c2ebbd974 to your computer and use it in GitHub Desktop.
Minimalistic example to signin and signout using ng-oidc-client
This file contains hidden or 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
| <div (click)="signinRedirect()"> | |
| Signin Redirect | |
| </div> | |
| <pre>{{identity$ | async | json}}</pre> | |
| <div (click)="signoutRedirect()"> | |
| Signout | |
| </div> | |
| <router-outlet></router-outlet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment