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

getMetaData adds empty new lines #267

Open
tareqGhosh opened this issue Mar 21, 2024 · 0 comments
Open

getMetaData adds empty new lines #267

tareqGhosh opened this issue Mar 21, 2024 · 0 comments

Comments

@tareqGhosh
Copy link

tareqGhosh commented Mar 21, 2024

    $metadata = $saml2Auth->getMetadata();
    
    return response($metadata, 200, ['Content-Type' => 'application/xml']);

Is adding empty 3 lines when I deploy my code in the server, its not happening locally... why?

Server response:




<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"

Local response:

<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"

Did anyone face this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant