question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Documentation] Custom SignedOut page

See original GitHub issue

Documentation related to component

Microsoft.Identity.Web.UI

Please check all that apply

  • typo
  • documentation doesn’t exist
  • documentation needs clarification
  • error(s) in the example
  • needs an example

Description of the issue

I’m working on a Blazor Server app using AzureAD and Microsoft.Identity.Web.UI for AuthN & AuthZ. The Identity UI is implemented with MVC, which doesn’t play nicely with Blazor. In particular, it doesn’t work with my site layout page and navigation components (_Host.cshtml and MainLayout.razor).

I’m looking for an example of how to implement a custom SignedOut page to replace /MicrosoftIdentity/Account/SignedOut.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:26

github_iconTop GitHub Comments

1reaction
witheejcommented, Mar 5, 2021

I was also getting the build error, but it worked for me to just change the namespace (make sure you change it in the cshtml file AND cshtml.cs file)

1reaction
shanemikelcommented, Nov 13, 2020

I just looked through it. Could you help me out here? I’m not familiar with MVC, so I’d rather make a Razor Page if possible. I added an Areas/MicrosoftIdentity/Account/Pages/SignedOut.cshtml file, but it doesn’t work. I also tried making a page in my app Pages folder with @page '/MicrosoftIdentity/Account/SignedOut. Also no luck.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I define the SignedOut page in Microsoft.Identity. ...
cs under Configure. Here I've just redirected to my home page, but you can redirect to your own custom signout page if you...
Read more >
Customize sign-ins and sign-outs - Azure App Service
Customize sign-in and sign-out in Azure App Service authentication ... First, in the Authentication / Authorization page in the Azure portal ...
Read more >
Pages | NextAuth.js
To add a custom login page, you can use the pages option: pages/api/auth/[...nextauth].js ... pages: { signIn: '/auth/signin', signOut: ...
Read more >
How to implement Single Sign Out in Azure AD B2C using ...
How to implement Single Sign Out in Azure AD B2C using Custom policies? ... URIs for 4 Single Page Applications (SPA) and already...
Read more >
Customize a sign-out page
Use a custom sign-out page if you want to redirect them to a specific URL. In the Admin Console, go to CustomizationsBrands. Select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found