Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
app component view for azure ad b2c protected angular app
<body>
<button *ngIf="!loggedIn" (click)="login()">Login</button>
<button color="warn" *ngIf="loggedIn" (click)="logout()">Logout</button>
<app-nav-menu></app-nav-menu>
<div class="container">
<router-outlet></router-outlet>
</div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment