refactor: improve type annotations in services and config
Some checks failed
Some checks failed
This commit is contained in:
parent
617654caeb
commit
d3b7e7d5e7
3 changed files with 7 additions and 5 deletions
|
@ -43,7 +43,7 @@ export class UserService {
|
|||
.pipe(tap((user) => this.currentUserSubject.next(user)));
|
||||
}
|
||||
|
||||
public getOrCreateUser(profile: any): Observable<User> {
|
||||
public getOrCreateUser(profile: Record<string, unknown>): Observable<User> {
|
||||
console.log('Full authentik profile:', profile);
|
||||
// Authentik format might differ from Keycloak
|
||||
// Check different possible locations for the ID and username
|
||||
|
|
Reference in a new issue