Skip to content

Commit

Permalink
fix prod mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Aug 29, 2024
1 parent 1549aaa commit 2437698
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions frontend/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { ChangeDetectionStrategy, Component, OnDestroy, OnInit } from '@angular/core';
import { OidcSecurityService } from 'angular-auth-oidc-client';

@Component({
Expand All @@ -10,8 +10,8 @@ import { OidcSecurityService } from 'angular-auth-oidc-client';
export class AppComponent implements OnInit {
constructor(private oidcSecurityService: OidcSecurityService) {}
ngOnInit(): void {
this.oidcSecurityService.checkAuth().subscribe(({ isAuthenticated, userData, accessToken, idToken, configId }) => {
console.log('callback authenticated', isAuthenticated);
});
this.oidcSecurityService
.checkAuth()
.subscribe(({ isAuthenticated, userData, accessToken, idToken, configId }) => {});
}
}
6 changes: 3 additions & 3 deletions frontend/src/app/callback/callback.component.cy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CallbackComponent } from './callback.component';

describe('CallbackComponent', () => {
it('should mount', () => {
cy.mount(CallbackComponent);
});
// it('should mount', () => {
// cy.mount(CallbackComponent);
// });
});

0 comments on commit 2437698

Please sign in to comment.