Closed talbottmike closed 5 years ago
Hey, this looks good. I'd happy to include it as a "extension" library - take a look how Saturn.Extensions...
projects are organised.
Thanks! I'll take a look and submit a PR.
I used this sample in an in progress "for fun" application at my work, and this sample OpenID + Azure Active Directory authentication worked just fine! 🎉 I would happy to submit a PR if @talbottmike does not have the bandwidth.
The only problem I have is configuring CORS correctly for my Fable UI to use the Saturn API for Open ID auth, but I think that is more of a problem with me than with this Saturn sample. The Saturn auth portion is doing fine.
Would you be interested in a PR with an auth sample or additional extension using OpenIdConnect? I've been using it for connecting to Azure and was wondering if you might be interested in such. I tried to follow the pattern of your existing sample(s).
The current implementation has a dependency on the Microsoft.AspNetCore.Authentication.OpenIdConnect NuGet package.
Here is the implementation.
And here is a sample of the config and usage.