samb1729 / SteamAuthDotNet

Example of Steam authentication in a barebones ASP.NET 5 MVC application
2 stars 1 forks source link

Request for Sample Guide #2

Closed kyilintun2017 closed 5 years ago

kyilintun2017 commented 5 years ago

Dear @sambooo , I have try your source code. But got some difficulties when running the application. Would you kindly help me with the issue.

  1. About Application Key in Startup.cs As inside the source code the configuration has been removed. I replace webconfig declaration with just the WebAPI key from steam. Eg,

var key = "MyApiKeyIssuedFromSteam";
var options = new SteamAuthenticationOptions { ApplicationKey = key };

  1. AuthenticatedResult is null in HomeController's Index. I have debug this stage.

var authenticateResult = await HttpContext.GetOwinContext().Authentication.AuthenticateAsync("ExternalCookie");

  1. Return url of ChallengeResult When i call the ChallengeResult from AuthoriseSteam() of HomController. the return is route to [Localhost]/Home/AuthoriseSteam.

Did I miss out any declaration. Could you guide me with more info? Thanks.

Best Regards, KYI LIN TUN

kyilintun2017 commented 5 years ago

will not use this project. Fund other way.

AleksaDjordjic commented 4 years ago

will not use this project. Fund other way.

Can you tell us what that other way is maybe...?