import { createOktaOAuthConfig } from "https://deno.land/x/fathym_everything_as_code@v0.0.390-integration/src/src.deps.ts";
Returns the OAuth configuration for Okta.
Requires --allow-env[=OKTA_CLIENT_ID,OKTA_CLIENT_SECRET,OKTA_DOMAIN]
permissions and environment variables:
OKTA_CLIENT_ID
OKTA_CLIENT_SECRET
OKTA_DOMAIN
Examples
Example 1
Example 1
import { createOktaOAuthConfig } from "https://deno.land/x/deno_kv_oauth@$VERSION/mod.ts";
const oauthConfig = createOktaOAuthConfig({
redirectUri: "http://localhost:8000/callback",
scope: "openid",
});