Giter VIP home page Giter VIP logo

Comments (5)

eliobischof avatar eliobischof commented on June 1, 2024 1

The console doesn't send the URL to the backend.
It's reproducible with https://mocksaml.com/api/saml/metadata on save and update.
I'll fix it.

from zitadel.

fforootd avatar fforootd commented on June 1, 2024

CC @stebenz

Relates to https://discord.com/channels/927474939156643850/1019895518383583323/threads/1206913003312775188

from zitadel.

stebenz avatar stebenz commented on June 1, 2024

@HungryHowies Just to differentiate, the expected behaviour still exists but the error you are getting is in reading the Bookstack metadata.xml.
Could you please provide an example metadata.xml from your bookstack instance? So that we can try to sort out what the problem with this file format is? Did you also try to upload the file directly not only through the URL?

from zitadel.

HungryHowies avatar HungryHowies commented on June 1, 2024

Hey @stebenz

Thx for the reply

@HungryHowies Just to differentiate, the expected behaviour still exists but the error you are getting is in reading the Bookstack metadata.xml.

This is my XML.
NOTE: domain.com is my place holder.

<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2024-02-21T22:03:53Z" 
                             cacheDuration="PT604800S" entityID="https://bookstack.domain.com/saml2/metadata">
<md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" 
                             protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" 
                             Location="https://bookstack.domain.com/saml2/sls"/>
<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat>
                   <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" 
                               Location="https://bookstack.domain.com/saml2/acs" index="1"/>
            </md:SPSSODescriptor>
</md:EntityDescriptor>

Did you also try to upload the file directly not only through the URL?

Yes that works great using the XML file upload and using Option 3: "Create a minimal metadata file on the fly providing ENTITYID and ACS URL".

Also note that Zitadel Version 2.37.3 works great using the URL.

EDIT: Only reason I bring this up is some customers dont have an option of uploading XMl files.

from zitadel.

livio-a avatar livio-a commented on June 1, 2024

@stebenz i guess that the parsing might fail because of a missing header / content type mismatch when retrieving the metadata endpoint.

from zitadel.

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.