Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/UserService.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)
Latest
method UserService.loginWithOauth
import { UserService } from "https://deno.land/x/windmill@v1.416.1/windmill-api/services/UserService.ts";

login with oauth authorization flow

Parameters

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

Returns

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.