Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKAN shows native login link instead of saml login link #4393

Open
FuhuXia opened this issue Jul 18, 2023 · 1 comment
Open

CKAN shows native login link instead of saml login link #4393

FuhuXia opened this issue Jul 18, 2023 · 1 comment
Labels
bug Software defect or bug component/catalog Related to catalog component playbooks/roles component/inventory Inventory playbooks/roles

Comments

@FuhuXia
Copy link
Member

FuhuXia commented Jul 18, 2023

When logged-out user tries to access an internal page, CKAN gives a login link that leads to native CKAN login and generates an error when user clicks it.

image

Error:

This resource is forbidden by the system administrator.
Only SSO through SAML2 authorization is available at this moment.

How to reproduce

https://inventory.data.gov/organization/new
https://catalog.data.gov/organization/new

Expected behavior

Link to saml login page.

Actual behavior

Link to native CKAN page then error.

Sketch

  1. change upstream saml2auth, or
  2. add config nginx to redirect /user/login to /user/saml2login, or
  3. do not show the link.

Related to #2702 and keitaroinc/ckanext-saml2auth#33

@FuhuXia FuhuXia added the bug Software defect or bug label Jul 18, 2023
@nickumia-reisys
Copy link
Contributor

Do you think this line is effecting it (as per the discussion in the linked ticket in the issue)?

@hkdctol hkdctol added component/catalog Related to catalog component playbooks/roles component/inventory Inventory playbooks/roles labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software defect or bug component/catalog Related to catalog component playbooks/roles component/inventory Inventory playbooks/roles
Projects
Status: 🧊 Icebox
Development

No branches or pull requests

3 participants