Can someone show me a C# example on how to handle the call back from a Login with GitHub #2688
Unanswered
DataJuggler
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using this I was able to get the button to come up, although I had to rename Oauth to Git Hub during ExternalLogins, and when clicked GitHub asked me to authorize my app, but I think I am not using Octokit here? Is that correct? I did add the Nuget package, but then got stuck.
How do I show a Login with Git Hub button with Octokit is a related question. I am in a Blazor server app, and added a bunch of Microsoft Identity stuff.
Thanks, I have googled for days and not found a good C# example for this, which surprises me.
This did add a user in AspNetUsers, but on the next login I don't know where to check if the user already exists because it says User already registered.
Thanks for any guidance.
Beta Was this translation helpful? Give feedback.
All reactions