Base solution for your next web application
Open Closed

OpenID Connect and Login Delays #11903


User avatar
0
maharatha created

We are using Angular and .Net core latest version.

We are using Okta as our Login Provider for OpenID connect and we are able to successfully use it as well.

When the authentication is complete we get redirected to the Login page, and the login page is displayed for 2-3 seconds to the user before it logins to the system. This is creating confusion as people are thinking nothing happened let me try again.

How do we block the UI while the authentication is being verified in the back ground.

We tried adding start and stop spinner at NgInit level and that didn't help.

We also added here :  
 externalLogin(provider: ExternalLoginProvider) {
        this.showMainSpinner();
        if (this.loginService.authenticateModel.userNameOrEmailAddress) {
            this.loginService.externalAuthenticate(provider);
        }
        this.hideMainSpinner();
    }

Please help us to block the UI before the user is able to login to the application

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Could you create an issue here https://github.com/aspnetzero/aspnet-zero-core/issues, we will work on this and offer you a solution.

    Thanks,

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    maharatha created

    https://github.com/aspnetzero/aspnet-zero-core/issues/5156

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks, we will work on this.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)