Skip to content

Misconfigured CAS npm module causes logins to fail. #21512

@donfn

Description

@donfn

Description:

Hello, I found out that the CAS module you are using is bugged. I created my own CAS implementation and found out it couldn't work with Rocket Chat due to a misconfiguration on the module (it may not work with Apareos' CAS either, depending on the service's configuration).

I have made a Pull Request to the module (kcbanner/node-cas#14), but the maintainer is inactive for years. I suggest that you fork my repo (https://github.com/donfn/node-cas) and load the module from there.

Steps to reproduce:

Expected behavior:

/serviceValidate should be used by the module and therefore by Rocket Chat during the auth flow.

Actual behavior:

The module is configured to use /proxyValidate, an endpoint meant for other use-cases.

Server Setup Information:

Client Setup Information

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions