You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Short description
<!-- What do you propose to change with your PR? -->
Allows players to link and use steam as login option.
## Why we need to add this
<!-- What is the reason for adding these changes? Please post links to
Discussions as well as Bug Reports here. Please describe how this will
change the game balance. -->
Some of our users doesn't like discord OAuth, so we're providing better
way.
## Checks
<!-- check boxes for faster reviewing of your PR -->
- [x] I do not require assistance to complete the PR.
- [x] Before posting/requesting review of a PR, I have verified that the
changes work.
- [x] I have added screenshots/videos of the changes, or this PR does
not change in-game mechanics.
- [x] I affirm that my changes are licensed under the [MIT
License](https://github.com/ss14Starlight/space-station-14/blob/Starlight/LICENSE.TXT)
and grant permission for use in this repository under its conditions.
This PR won't get Changelog, just because it doesn't affect game at all,
it affects only Launcher and NullLink, users will get announcement when
this will work(currently it just links your steam with your SS14
account, that's all)
_sawmill.Error($"discord.callback is not a valid absolute http(s) url: '{_discordCallback}'. discord linking will fail. set it to the exact redirect registered in the discord app, e.g. https://your.host/api/auth");
_sawmill.Error($"steam.baseurl is not a valid absolute http(s) url: '{_steamAuth}'. steam linking will fail. set it to the exact redirect registered in api, e.g. https://your.host/api/auth/steam");
23
32
}
24
33
publicstringGetDiscordAuthUrl(stringcustomState)
25
34
{
@@ -36,4 +45,20 @@ public string GetDiscordAuthUrl(string customState)
0 commit comments