Sustainsys / Saml2

Saml2 Authentication services for ASP.NET
Other
957 stars 603 forks source link

How to generate https link of ACS in metadata #1467

Closed wjfang90 closed 1 month ago

wjfang90 commented 1 month ago

hi guys,

I hope you can help me,thank you.

I used Sustainsys.Saml2.Mvc 2.10.0

I configurate domain like test.project.com on the website with http and https protocol, and I download the metadata with https://test.project.com/saml2. it's ok. But the ACS url is http

the metadata file like this 1724903963821

the web.config is this 1724904156005

AndersAbel commented 1 month ago

If the generated URLs are http even if your are using https, you need to set the PublicOrigin option (Note: This advice is for the Mvc package, not for Asp.Net Core)

wjfang90 commented 1 month ago

Thank you for answer,it works.