-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Portalicious: SSO (redirect slice) (#6110)
* portalicious: setup MSAL auth strategy AB#31188 * redirect flow * process feedback --------- Co-authored-by: Domenico Gemoli <domenicogemoli@gmail.com>
- Loading branch information
1 parent
e985965
commit 773f217
Showing
27 changed files
with
602 additions
and
87 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
6 changes: 6 additions & 0 deletions
6
interfaces/Portalicious/src/app/pages/auth-callback/auth-callback.page.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<app-page-layout> | ||
<div class="flex w-full flex-col items-center justify-center"> | ||
<p-progressSpinner /> | ||
<h2 i18n>Redirecting to 121…</h2> | ||
</div> | ||
</app-page-layout> |
27 changes: 27 additions & 0 deletions
27
interfaces/Portalicious/src/app/pages/auth-callback/auth-callback.page.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { | ||
ChangeDetectionStrategy, | ||
Component, | ||
inject, | ||
OnInit, | ||
} from '@angular/core'; | ||
|
||
import { ProgressSpinnerModule } from 'primeng/progressspinner'; | ||
|
||
import { PageLayoutComponent } from '~/components/page-layout/page-layout.component'; | ||
import { AuthService } from '~/services/auth.service'; | ||
|
||
@Component({ | ||
selector: 'app-auth-callback', | ||
standalone: true, | ||
imports: [PageLayoutComponent, ProgressSpinnerModule], | ||
templateUrl: './auth-callback.page.html', | ||
styles: ``, | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class AuthCallbackPageComponent implements OnInit { | ||
private authService = inject(AuthService); | ||
|
||
ngOnInit() { | ||
this.authService.handleAuthCallback(); | ||
} | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.