Kévin Chalet

Results 270 comments of Kévin Chalet

Hey, > Could you provide some sample(-s) where refreshing tokens is implemented for MVC with cookie authentication scheme? If not, could you give us some ideas how it could be...

> Big thanks for advertising your competitors! 😁 I've taken a brief and realized there are no nuget packages released, what a weird thing... 🤣 You can find the package...

> What do I need to do to get valid certificates (because with the exact same certificates downloaded to my PC this exact same scenario works completely fine) Can you...

How do you register the certificate? Using the `Add*Certificate(X509Certificate2)` overload? Can you please try to run `CryptoConfig.CreateFromName("SHA256")` and see what it returns on Docker?

> So how would I log that instance, if it's an instance of SHA256Managed inside Docker is it good enough or are you looking for a specific property that should...

> Inside Docker on my server this prints an empty line (when just print `x` by using `Console.WriteLine`) so I'm assuming it's NULL It's going to be a fun one...

> I have no clue what assembly trimming means but if you refer to this then yes: Can you try without `-p:PublishTrimmed=true`? It's likely the root cause of your pain...

> Thank you so much though, I've been stuck on this for a while and neither StackOverflow nor the C# Discord server were really any help! My pleasure 😄 So,...

> You're correct, which is why `CryptoConfig.CreateFromName` is painted with `[RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]`. Makes total sense. While OpenIddict itself...

Makes sense, thanks for your insights 😃 I don't see in the docs that trimming might break ASP.NET Core Data Protection when using key protection via a certificate. Should that...