Skip to content

Login auto-redirec on single authenticationProviders missing #11064

Description

@offtherailz

Description

As for documentation

If only one OpenID entry is present in authenticationProviders (and no geostore entry available), clicking on the login entry in the login menu will redirect directly to the OpenID provider login page configured, without showing the login window. If more than one entry is present in the authenticationProviders list, the the login window will be provided in the MapStore UI to be able choose the desired one for the authentication.

But if we configure only one openID entry, the login popup appears anyway.

How to reproduce

  • Configure in localConfig.json the following
 {
        "type": "openID",
        "provider": "oidc",
        "title": "My custom identity provider"
      },
  • Open mapstore homepage and click on login

Expected Result

You are redirected to the login page

Current Result

The popup appears with login link

Image

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Activity

  1. self-assigned this
    on Apr 30, 2025
  2. added theissue type on Apr 30, 2025
  3. added this to the 2025.01.00 milestone on Apr 30, 2025
  4. added a commit that references this issue on Apr 30, 2025
    5f1a20a
  5. added a commit that references this issue on May 5, 2025
    d65a30e
  6. added
    BackportNeeded
    on May 5, 2025
  7. self-assigned this
    on May 6, 2025
  8. added a commit that references this issue on May 7, 2025
    6792d10
  9. added a commit that references this issue on May 7, 2025
    4348c79
  10. removed
    BackportNeeded
    on May 7, 2025
  11. added 2 commits that reference this issue on Aug 26, 2025
    984ef98
    0c1cf40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions