Authority URL works only on localhost.
**Describe the bug**
when I run this on localhost:
```
public IActionResult SteamLoginInitiate()
{
Console.WriteLine("SteamLoginInitiate invoked.");
return Challenge("Steam");
}
```
It works perfectly, it returns URL that starts with:
https://steamcommunity.com/openid... which loads a working steam login page.
However, when I try to access it from my actual production server domain, the start of the URL is set to my domain name for no reason which obviously can't be processed and returns HTTP ERROR 404.
Even though I set: `steamOptions.Authority = new Uri("https://steamcommunity.com/openid");` it's totally ignored. This request should clearly be sent to steam servers...
**Steps To reproduce**
```
.AddSteam(steamOptions =>
{
steamOptions.Authority = new Uri("https://steamcommunity.com/openid");
steamOptions.ApplicationKey = Steam.API.API_Key;
steamOptions.Realm = "https://redacted.com";
});
```
**System information:**
- Library Version [6.0.0]
- .NET version (6)
关闭于 2024-01-04 1 条评论