Closed martincostello closed 8 months ago
Everything else appears to Just Work™️.
Looks almost too easy to be true 🤣
Cool - I'll just do a double-check locally that I haven't messed up the serialization format and then I'll merge this in for the v8 release.
Yep, it works as expected. The payloads before and after are:
{"redirect_uri":"http://localhost/signin-trovo","code":"a6ed8e7f-471f-44f1-903b-65946475f351","client_secret":"my-client-secret","grant_type":"authorization_code"}
{"access_token":"ajsdfiasd7f6asdf8o","token_type":"","refresh_token":"","expires_in":""}
Add support for native AoT for the libraries.
After my adventures getting this working for Polly, I thought I'd give it a try here, and it seemed to be relatively simple.
The only changes required were for the Trovo and Yammer providers to use AoT-friendly JSON serialization. Everything else appears to Just Work™️.
Tested by:
services.AddMvc()
(because it's not supported)dotnet publish
for the Mvc.Sample project.Only one warning is output, and that's from MVC's own lack of support.
Thoughts?