mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-11 16:45:13 +00:00
# Which Problems Are Solved The console provided conflicting warnings when creating a pkce based project. # How the Problems Are Solved <img width="1026" height="432" alt="grafik" src="https://github.com/user-attachments/assets/d6609d2d-1438-42bd-9bc4-2e896c3e47d9" /> Removed the `keep your client secret at a safe place...` warning when a auth-method without a client secret is used. Changed the dialog title to `Client Details` instead of `Client Secret` # Additional Changes - Improves type safety for data passed to the `AppSecretDialogComponent`. - Updates the `AppSecretDialogComponent` to use modern Angular features, improving readability and maintainability. # Additional Context - Closes #11834 --------- Co-authored-by: Max Peintner <[email protected]>
21 lines
635 B
TypeScript
21 lines
635 B
TypeScript
import { Component, inject } from '@angular/core';
|
|
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
|
|
export type AppSecretDialogData = {
|
|
clientId?: string;
|
|
clientSecret?: string;
|
|
};
|
|
|
|
@Component({
|
|
selector: 'cnsl-app-secret-dialog',
|
|
templateUrl: './app-secret-dialog.component.html',
|
|
styleUrls: ['./app-secret-dialog.component.scss'],
|
|
standalone: false,
|
|
})
|
|
export class AppSecretDialogComponent {
|
|
protected readonly dialogRef = inject<MatDialogRef<AppSecretDialogComponent>>(MatDialogRef);
|
|
protected readonly data = inject<AppSecretDialogData>(MAT_DIALOG_DATA);
|
|
|
|
public copied: string = '';
|
|
}
|