'Is it possible expose Saml2Constants.AuthenticationScheme?
I want to have different cookie name, but re-write Saml2ServiceCollectionExtensions.AddSaml2 and Saml2ResponseExtensions.CreateSession seems not very good just for change cookie name,
so it will be better to expose schema name and we can set it in appsetting.json.
Solution 1:[1]
You are right is is currently not possible to set the cookie name in the Saml2ServiceCollectionExtensions.AddSaml2 method. You are welcome to du a pull-request adding the feature.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Anders Revsgaard |
