Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

feat(login): redirect to OIDC when login link or passwordless back button is clicked

AVINASH GUSAIN requested to merge dev/fix-sso-redirect into main

https://gitlab.e.foundation/e/infra/backlog/-/issues/4377

We also need to update the sed command so that, after a successful password reset, the user is taken to the NC login page. Currently, this change redirects them to the SSO login page instead.

For NC29- we need to run this sed

sed -i 's|this\.directLogin=!0|this.directLogin=!0,this.hideLoginForm=!0,this.loading=!0,window.location.href="/login"|g' core-login.js

and For NC30 - we need to run this sed- added in docker:

sed -i "s|window\.location\.href=(0,g\.Jv)(\"login\")|window.location.href = '/'|g" core-login.js

Edited by AVINASH GUSAIN

Merge request reports

Loading