Starts in:
1 DAY
7 HRS
27 MIN
51 SEC
Starts in:
1 D
7 H
27 M
51 S

Activities of "safi"

  1. Do you have any errors when you check developer console (F12) of the browser?
  2. Is your project template Blazor WebAssemby non-tiered? What is your exact template version?
  3. Do you have front-channel logout altered or any identityserver-related data changes?

Are you guys looking into it or Just joking with me?

Hello,

It could be shorter if you would share the link (/authentication/logged-out) in the screenshot.

After IdentityServer single logout action, the user is redirected back to Blazor application. This URL (/authentication/logged-out) is handled by the Microsoft OIDC Provider and it is not related to ABP.

When we investigate more about the Microsoft.AspNetCore.Components.WebAssembly.Authentication, we have limited options to modify the remote views.

Instead of modifying the remote view, you can set the authentication/logged-out path to index page should redirect you back to login page since the index.razor is supposed to be authorized already.

Update the ConfigureAuthentication method of BlazorModule as follows:

private static void ConfigureAuthentication(WebAssemblyHostBuilder builder) 
{ 
    builder.Services.AddOidcAuthentication(options => 
    { 
        builder.Configuration.Bind("AuthServer", options.ProviderOptions); 
        options.UserOptions.RoleClaim = JwtClaimTypes.Role; 
        options.AuthenticationPaths.LogOutSucceededPath = "/"; // This will redirect the application to "/" instead of logged-out page which will trigger authentication again 
        options.ProviderOptions.DefaultScopes.Add("MyApp"); 
        options.ProviderOptions.DefaultScopes.Add("role"); 
        options.ProviderOptions.DefaultScopes.Add("email"); 
        options.ProviderOptions.DefaultScopes.Add("phone"); 
    }); 
} 

<br> You can see Microsoft documentation of Blazor Web Assembly for additional scenarios for more information.

Please check this

You can replace the HeaderBrandViewComponent.
https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-view-component

lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Header\Brand\Default.cshtml

Thank you so much. Can you please check https://support.abp.io/QA/Questions/3071/Show-login-page-after-logout my client is waiting to submit project.

This is my last issue.

You can replace the HeaderBrandViewComponent. https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-view-component

lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Header\Brand\Default.cshtml

Thank you so much. Can you please check https://support.abp.io/QA/Questions/3071/Show-login-page-after-logout my client is waiting to submit project.

HeaderBrandViewComponent

so for this do we need to keep that folder in this way like Themes\Lepton\Components\Header\Brand\Default.cshtml in host project?

See https://support.abp.io/QA/Questions/1560/Logo-on-login-page-redirects-to-Swagger

I checked this link but can you please tell me the solution because I spent already too much time in issues and now today is last day to submit project.

Please help!

index.razor

Hi

I tried this but it's taking too much time can we connect on zoom? It would be a quick easy fix for you but I am taking much time.

Can you share some screenshots to explain?

Hi

Are you checking?

  1. Do you have any errors when you check developer console (F12) of the browser?
  2. Is your project template Blazor WebAssemby non-tiered? What is your exact template version?
  3. Do you have front-channel logout altered or any identityserver-related data changes?

Are you guys looking into it or Just joking with me?

Can you share some screenshots to explain?

I sent you a mail regarding this.

Is anybody there to help me out?

Showing 71 to 80 of 286 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06