This commit is contained in:
2023-05-14 18:56:04 -05:00
2 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
A web application for playing the Shogi boardgame with others, developed as a hobby and hosted at [https://lucaserver.space/shogi/](https://lucaserver.space/shogi/)
The application uses sockets to allow players to enjoy sessions in real time.
### Technologies used
A Blazor UI backed by an Asp.net Core API service which uses Sql Server for presistent storage.
### Known Issues
* The app is intended to support logging in via Microsoft accounts or browser-session (Guest) accounts, but currently Microsoft login does not work.
@@ -17,3 +19,4 @@ The app is not yet finished, though much of the functionality exists. Here is a
* Checkmate experience in UI
* Preventing the rarely invoked rule where check-mate cannot be gained by placing a pawn from the hand.
* Retaining an archive of games played and move history of each game.
* Adaptive UI layout for varying viewport (screen) sizes.

View File

@@ -198,6 +198,8 @@ namespace Shogi.Api
{
Implicit = new OpenApiOAuthFlow
{
// These urls might be why only my email can login.
// TODO: Try testing with tenantId in the url instead of "common".
AuthorizationUrl = new Uri("https://login.microsoftonline.com/common/oauth2/v2.0/authorize"),
TokenUrl = new Uri("https://login.microsoftonline.com/common/oauth2/v2.0/token"),
Scopes = new Dictionary<string, string>