Skip to content

return url  #2

@tomadj

Description

@tomadj

Hello,

With APP_INITIALIZER and the initApp Promise, how dealing the return url (user state) after completeAuthentication ?

In initApp, I pass the return url like this :

else { 
return this.authService.startAuthentication(window.location.hash); 
// (this.userManager.signinRedirect({ data: { returnUrl } }));
} 

But how redirect to the return url after completeAuthentication() ?

   if (window.location.href.indexOf('code') >= 0) {
       await this.authService.completeAuthentication();
          resolve();
    }

Thank's

Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions