OAuth for Clients
Telnet Option
Constants:
IAC
:255
WILL
:251
WONT
:252
DO
:253
DONT
:254
OAUTH
:165
Server (Game): IAC DO OAUTH
Client (Grapevine): IAC WILL OAUTH
Client: IAC SB OAUTH Start {host: "grapevine.haus"} IAC SE
Server: IAC SB OAUTH AuthorizationRequest {response_type: "code", client_id: "...",
scope: "...", state: "..."} IAC SE
Client: Requests confirmation from the user, displays a standard OAuth request asking
for scopes and the connection
User: Approves request
Client: IAC SB OAUTH AuthorizationGrant {state: "same as above", code: "..."} IAC SE
Server then goes through standard OAuth
Defaults:
- Client:
IAC DONT OAUTH
- Server:
IAC WONT OAUTH