Redirect after login not working when "Login page" is set
After upgrading from 9.6.2. to 9.10.2 we have an issue with the redirect after login not working anymore...
The Redirect after login doesn't work when you have a custom login page (inloggen) set in "Site Settings" - 'Site Behavior" - "Login Page" is set to page from dropdown (Inloggen).
When the "Login page"is not set the redirect after login does work.
Is there a fix or workaround for this problem.
Steps to reproduce
List the precise steps to reproduce the bug:
- Go to 'Site Settings';
- Click on 'Site Behavior' tab;
- Scroll to 'Login page' and select the custom page with the account login module on it;
- Go to 'Redirect After login;
- Select the page to redirect to.
Current behavior
Does not redirect to selected page but redirects to the home page.
Expected behavior
Should redirect to the page selected at Redirect After login;
Error information
no errors in log or console
Affected version
- [ ] 09.10.x release candidate
- [ ] 09.10.2 latest supported release
Affected browser
all browsers
We recently experienced a similar issue after upgrading our site from DNN version 07.00.02 to 09.10.1
Only our default "Login" page would "Redirect After Login" to the appropriate page set on Site Settings/Site Behavior after the upgrade. Our other two custom login pages would not redirect after someone signed in. These pages were assign the login layout and used also used the Account Login module.
Instead of redirecting, the login page would refresh after clicking "Login". If your user was in the "Administrator" role, the login form would still be visible and the Persona bar would show. If you weren't an "Administrator" the login form would be hidden.
We were able to resolve the redirect issue with our other login pages by going to Site Settings -> Site Behavior, locating the "Login Page" drop down, then selecting the default "Login" page, then saved. It looks like after the upgrade the "Login Page" drop down was no longer assigned to any page, it showed "None Specified" as selected.
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. If new comments are are posted and/or a solution (pull request) is submitted for review that references this issue, the issue will not be closed. Closed issues can be reopened at any time in the future. Please remember those participating in this open source project are volunteers trying to help others and creating a better DNN Platform for all. Thank you for your continued involvement and contributions!
We're running v. 09.10.01 and all redirects set in the Site Behaviour > Default Pages take us to the home page, so this is still an ongoing issue!
is it a multilanguage website or default en-us?
Default en-us
Look like it's an issue/bug with initial loading or saving the login page at Site Settings -> Site Behavior
Is it an upgraded DNN instance or a clean install? Any third party modules installed?
It's an upgrade, not sure if v. 09.10.02 would fix it.
We've got a few third party modules: DNNGo template, EasyDNNAccessibilityModule, GDPR Cookie Consent, WSC Slider Revolution Importer.
I don't think the upgrade to DNN 9.10.2 will fix the issue... but you can try.
does EasyDNNAccessibilityModule use a url provider module?
It doesn't look like it, I deleted the module from all pages and the issue is still there.
I could not reproduce this issue, if there are any more details that could help make it happen, please comment and I'll reopen it.
I'm seeing the problem on 9.11.1 - I'm about to upgrade to 9.11.2 and I'll check again.
the logout button links to
upgraded to 9.11.2. still see the problem.
Are you using any third party login modules?
No.
Did some testing today in 9.11.2 and the issue still exist. So dgingold is right.
It's a multilanguage issue
@wbonekamp Can you write clear steps to make this issue happen. I:
- Installed 9.6.2
- Enabled localization with (fr-fr)
- Made all pages localizable and published them
- Created a custom login page
- Set the redirect after login and saved in each language
It worked for me. So the only way to make this issue move forward would be to figure out how to actually get into that situation which I was not able to.
The issue is still happening on version 9.12. Fresh install.
The Redirect after login is still not working, it is always goes back to Home Page.
EDIT: Btw, I'm using 3rd party module - Active Directory Authentication on login page.