I have an Angular 13 application with Oauth authentication, and I can't retrieve my session information with the loadUserProfile() function which returns a Pomise
I have to have the username information in my menu I have not arrived if I convert to json I have an out of memory because it changes my profile to infinity.
{{name | async}}
get name() {
return this.oauthService.loadUserProfile();
}