mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 15:38:45 -07:00
Migrate server auth to IdentityServer
This commit is contained in:
@@ -72,6 +72,10 @@ cd DorkNet
|
||||
| `ConnectionStrings:Redis` | `ConnectionStrings__Redis` | no | enables SignalR backplane |
|
||||
| `Domain:Apex` | `DORKNET_DOMAIN` | no | defaults to `localhost`; set for production |
|
||||
|
||||
`/connect/token` issues access and refresh tokens with the configured
|
||||
auth host as the issuer. Set `DORKNET_DOMAIN` for production so OpenID
|
||||
discovery and JWT validation agree on `https://auth.<domain>`.
|
||||
|
||||
**4. Boot:**
|
||||
|
||||
```pwsh
|
||||
@@ -104,6 +108,38 @@ AppIds, and bypasses TLS verification on the client's HTTPS calls so
|
||||
self-signed certs work. (First run prints "launch the game once"; do
|
||||
that, then re-run with `-ResumeBuild`.)
|
||||
|
||||
### Standalone Quest build (experimental)
|
||||
|
||||
The March Quest APK is also IL2CPP and can build the same
|
||||
`DorkNet.ClientMod` source against LemonLoader's Android runtime. The
|
||||
current Quest path is still device-tested manually: build the mod as a
|
||||
net8 LemonLoader DLL, install it into a LemonLoader-patched APK, then
|
||||
sideload the resigned APK.
|
||||
|
||||
From this branch:
|
||||
|
||||
```pwsh
|
||||
dotnet build .\DorkNet.ClientMod\DorkNet.ClientMod.csproj `
|
||||
-p:TargetFrameworks=net8.0 `
|
||||
-p:MelonLoaderDir="C:\path\to\LemonLoader\melon_data\MelonLoader"
|
||||
```
|
||||
|
||||
Output lands at
|
||||
`DorkNet.ClientMod\bin\Debug\net8.0\DorkNet.ClientMod.dll`. Desktop
|
||||
builds still default to net6 and keep the historical flat output path.
|
||||
|
||||
Quest notes:
|
||||
|
||||
- Target package: `com.AgainstGravity.RecRoom`.
|
||||
- Use a public HTTPS DorkNet host; keep `"EnableTlsTrustBypass": false`
|
||||
for Quest builds.
|
||||
- March uses the older PhotonServerSettings path: the ClientMod polls
|
||||
until `PhotonNetwork.PhotonServerSettings` is loaded, then rewrites
|
||||
`AppID`, `VoiceAppID`, and the fixed region by reflection.
|
||||
- Standalone APK patching/resigning is not yet wrapped by
|
||||
`install-melon.ps1`; this is the porting path, not a public one-click
|
||||
installer yet.
|
||||
|
||||
### Debug console (opt-in)
|
||||
|
||||
The 2020 client ships a built-in dev console
|
||||
|
||||
Reference in New Issue
Block a user