This url seems to be the correct one. The form “Password assistance” is displayed also on edx.org, which I take as a ground source of truth.
The file responsible for rendering this incorrect url (/reset instead of /password_assistance) is located here: edx-platform/openedx/core/djangoapps/user_authn/views/login.py
Now back to my questions:
Do you face the same issue when usign latest Open edX?
Is it a bug, or I just misconfigured something on my end (I’m using native install)
If it’s a bug, where should I report it?
Is there a way how to temporarily modify the file inside edX comprehensive theme? I think views can’t be overridden.
I haven’t confirmed it, but it sure looks like a bug. This is Koa, right? Would it be too much to ask for you to confirm that it’s still an issue in Lilac? If it is, the best place for you to open a bug would be in the build-test-release working group’s issue board.
(The reason I ask for Lilac confirmation is that the community-run group only supports the latest release - Koa is now unsupported.)
The branding-theming-sandbox also adds these for the edx-simple-theme:
EDXAPP_COMPREHENSIVE_THEME_SOURCE_REPO: https://github.com/open-craft/edx-simple-theme/
EDXAPP_COMPREHENSIVE_THEME_VERSION: master
EDXAPP_DEFAULT_SITE_THEME: simple-theme
SIMPLETHEME_ENABLE_DEPLOY: true
SIMPLETHEME_SASS_OVERRIDES: [ /* snip: lots of things */]
SIMPLETHEME_STATIC_FILES_URLS: [ /* snip: few of these too */]
Unfortunately the new MFEs aren’t themable with comprehensive themes, you have to replace the whole package to change anything. But since this appears to be something we need to fix, then it would be better to fix it upstream than for you to have to maintain a custom fix.
It definitely sounds like a bug, but I’m curious as to why we’re not seeing it too. Can you provide some more details about your installation process?
native or Tutor? (You said native, so just confirming.)
EDX_PLATFORM_VERSION
configuration_version
playbook used
any non-sensitive ansible variables that you can share
playbooks used - Default playbooks deployed with native install script
We didn’t modify ansible stack. Most of our modifications are in lms.yml and studio.yml; as far as I can tell there’s no config variable to specify the /reset URL.
Please let me know if you need more details. I can try to dig it up.
The first way is through html forms, in which case /reset works also for me
The second way is when you want to access direct link www.yourdomain/reset. I got to this link only when I entered my password wrong too many times. Most users don’t face this issue as long as they know their password to edX
That /reset link works fine for me if I click on it from the /login page, but only in that browser session. It 404s for me if I open it in a new window, and will probably break for you too if you click on these links: master /reset, lilac.master /reset and koa.3 /reset
My guess is, edx.org solved this by registering the /reset URL on the server side too, so that authn.edx.org/reset is also directed to the MFE. But by default, only /login and /register are known on the server side, as you found by changing user_authn/views/login.py.
To fix this in master, the change needs to be made in a slightly different place: user_authn/urls.py, and we should support both /reset and /password_assistance.
Would you like to submit a PR to get this fixed for master, and then we can pull it into lilac?