message: correct app metadata role
  corrected reference to claim app metadata
diff: @@ -12,6 +12,7 @@ export class AuthGuard implements CanActivate {
  constructor(private auth: AuthService, private router: Router, private location: Location) {}
  canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot) {
  + const appMetaData = 'http://app_metadata';
  if (this.auth.authenticated()) {
  const roles = next.data['roles'] as Array<string>;
  // Check if roles have NOT been set along with [AuthGuard] marker in auth.routing.ts
  @@ -32,8 +33,9 @@ export class AuthGuard implements CanActivate {
  if (result) {
  return true; // Allow access
  }
  + const profile: any = JSON.parse(this.auth.getProfile());
  // If no bypass in effect and user role is not in role restriction, then no access
  - if (roles.indexOf(JSON.parse(this.auth.getProfile()).app_metadata.roles[0]) === -1) {
  + if (roles.indexOf(profile[appMetaData].roles[0]) === -1) {
  this.location.back();
  return false;
  }
  