IdentityServer icon indicating copy to clipboard operation
IdentityServer copied to clipboard

Expose the CSP script/style hashes

Open glucaci opened this issue 3 years ago • 4 comments

Which version of Duende IdentityServer are you using? 6.1.6

Which version of .NET are you using? .NET 7

Question Would it be possible to expose all the needed hashes for CSP? We are building a custom CSP policy and would be nice to can access the hashse for the IdentityServer content.

For example the CheckSessionResult

glucaci avatar Feb 14 '23 08:02 glucaci

Sure, we could put that into a constant somewhere. And of course if it ever changes, then the constant would get changed too. Would that work for you?

brockallen avatar Feb 14 '23 14:02 brockallen

Yes, exactly. Let me know if I can help with this.

glucaci avatar Feb 14 '23 14:02 glucaci

Hi, We can easily do that using CSP Http header. I would like to work on that.? Is there anyone assigned

bytehealer avatar Feb 27 '23 09:02 bytehealer

Thanks for the offers all, but that is not necessary - I am working on this one.

josephdecock avatar Mar 10 '23 01:03 josephdecock