Skip to content

Authentication can fail when using Web Basic Authentication and Template User #3551

@TheWitness

Description

@TheWitness

Describe the bug

There are two issues related to basic authentication in Cacti 1.2.12. They are:

  • Create user from Template is not function. You get an undefined function call in auth_login.php
  • For some Single Signon environments, in conjunction with Basic Authentication like OpenIDT or SAML2, the redirect portion of the single sign on does not properly function if the redirect from the SSL provider goes to index.php.

To Reproduce

Steps to reproduce the behavior:

  1. Enable OpenIDT on Apache

  2. Point your OpenIDT configuration to Azure

  3. Enable Web Basic

  4. Setup a Template Account

  5. Attempt to have a new user sign in who will not have console access.

  6. Note that the redirect from the Auth provider does not follow Cacti rules, and instead the user receives a permission denied message.

Expected behavior

Permissions and default redirect should work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions