[Bug]: Custom Authentication Provider with Logoff Control Not Respecting Custom Page Layout
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 53/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- authentication
Research direction
Start by reproducing the issue with a custom login page and a provider whose logoff control inherits from AuthenticationLogoffBase; compare /logoff and /default.aspx?ctl=logoff with /user-login?ctl=logoff. Then trace how those URLs select and render the logoffControlSrc and the custom page layout. Done means the default logoff URLs render the control with the configured custom layout, without the reported interaction errors.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
With a custom authentication provider that implements a custom logoffControlSrc file that inherits from AuthenticationLogoffBase when the site is configured with a custom user login page, DNN does not always render the control in a manner that is expected.
Steps to reproduce?
- Create a custom authentication provider with a custom
loginControlSrcandlogoffControlSrc - Create a custom page for the login, such as "User Login," and set the default login page to that page, and set the page to a different theme so you can tell the difference.
- For testing purposes, ensure that the logoffControlSrc requires a user interaction so you can visually see it
Attempt to logoff, and notice that UI is NOT shown with your custom theme, or with your provided container when you leverage any of the default urls: /logoff or /default.aspx?ctl=logoff.
If you manually construct a logoff URL such as /user-login?ctl=logoff it will work as expected.
Current Behavior
No response
Expected Behavior
No response
Relevant log output
Anything else?
[!Note]
Additionally, when using a proper redirect, there is still an odd placement/timing behavior in how the container is rendered that results in null reference exceptions if you try to interact with any custom ode in the container.
We have used a tempoary workaround of a hard-coded logoff URL, but shouldn't have to.
Affected Versions
10.3.2 (latest release)
What browsers are you seeing the problem on?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Dominant language
- C#
- Stars
- 1.1k
- Forks
- 791
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 24
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dnnsoftware/Dnn.Platform
-
Status: New
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dnnsoftware/Dnn.Platform#7543 · 1 comment ·
Maintainers usually reply within 1 day
-
Status: New
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dnnsoftware/Dnn.Platform#6681 ·
Maintainers usually reply within 1 day
-
Status: New
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dnnsoftware/Dnn.Platform#6051 · 4 comments ·
Maintainers usually reply within 1 day
-
Status: New
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dnnsoftware/Dnn.Platform#7555 ·
Maintainers usually reply within 1 day
-
Status: New
Difficulty 4/5 3-5 days Newbie friendliness 22/100
dnnsoftware/Dnn.Platform#7554 · 5 comments ·
Maintainers usually reply within 1 day
All issues in dnnsoftware/Dnn.Platform
Similar issues
-
area-signalr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dotnet/aspnetcore#69842 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 2 days
-
bug needs-triage
Difficulty 2/5 Under an hour Newbie friendliness 78/100
microsoft/microsoft-ui-reactor#1373 ·
Maintainers usually reply within 1 day
-
Client customer-reported KeyVault needs-team-attention question Service Attention
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Azure/azure-sdk-for-net#63861 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day