Giter VIP home page Giter VIP logo

Comments (8)

freescout-help avatar freescout-help commented on July 19, 2024

Your PHP version?
Are you using any non-official modules or customizations?

from freescout.

freescout-help avatar freescout-help commented on July 19, 2024

On line 545 in /Modules/Saml/vendor/onelogin/php-saml/src/Saml2/Settings.php there is:

            } else if (!filter_var($idp['singleSignOnService']['url'], FILTER_VALIDATE_URL)) {
                $errors[] = 'idp_sso_url_invalid';
            }

It means something happened to "Signin URL" under "Identity Provider (IdP)". Check if the Signin URL visible on "Settings >> SAML 2.0" page and present in the .env file.

from freescout.

MasterPuffin avatar MasterPuffin commented on July 19, 2024

I'm using PHP 8.2 with only the SSO module and nothing else.

Here is the SAML config from the env file:

SAML_ENABLED=on

SAML_IDP_ENTITY_ID="https://saml.example.org"

SAML_IDP_SIGNIN_URL="https://www.example.org/auth/saml/freescout/"

SAML_LOGOUT_URL=

SAML_IDP_CERT="<cert>"

SAML_MAPPING="<mapping>"

SAML_AUTH_CONTEXT=

SAML_AUTO_CREATE_USERS=1

SAML_FORCE_SAML_LOGIN=1

SAML_DEBUG=

SAML_STRICT=1

from freescout.

freescout-help avatar freescout-help commented on July 19, 2024

You may need to debug this line to find out what value is contained in $idp['singleSignOnService']['url']:
#4078 (comment)

https://github.com/freescout-helpdesk/freescout/wiki/Debugging

from freescout.

MasterPuffin avatar MasterPuffin commented on July 19, 2024

The URL logged is https:///www.example.org/auth/saml/freescout/ whith three slashes instead of two, however the URL in the .env file is correct. Is the URL stored anywhere else?

from freescout.

freescout-help avatar freescout-help commented on July 19, 2024

It should be cached in /bootstrap/cache/config.php - check what you have there.

from freescout.

MasterPuffin avatar MasterPuffin commented on July 19, 2024

Deleting the file you mentioned fixed the issue. Thanks 👍

from freescout.

freescout-help avatar freescout-help commented on July 19, 2024

Ok. Strange.

from freescout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.