Skip to content

Commit

Permalink
Merge pull request #236 from JPRuskin/patch-1
Browse files Browse the repository at this point in the history
Update Steam OpenID Regex to handle HTTPS
  • Loading branch information
TerribleDev authored May 1, 2018
2 parents 900c80a + 35ea1c9 commit 0645705
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Owin.Security.Providers.Steam
{
internal sealed class SteamAuthenticationHandler : OpenIDAuthenticationHandlerBase<SteamAuthenticationOptions>
{
private readonly Regex _accountIDRegex = new Regex(@"^http://steamcommunity\.com/openid/id/(7[0-9]{15,25})$", RegexOptions.Compiled);
private readonly Regex _accountIDRegex = new Regex(@"^https?://steamcommunity\.com/openid/id/(7[0-9]{15,25})$", RegexOptions.Compiled);

private const string UserInfoUri = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key={0}&steamids={1}";

Expand Down

0 comments on commit 0645705

Please sign in to comment.