Skip to main content
Module

x/windmill/mod.ts>UserService.loginWithOauth

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method UserService.loginWithOauth
import { UserService } from "https://deno.land/x/windmill@v1.298.0/mod.ts";

login with oauth authorization flow

Parameters

unnamed 0: { clientName: string; requestBody: { code?: string; state?: string; }; }

Returns

CancelablePromise<string>

string Successfully authenticated. The session ID is returned in a cookie named token and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience.