Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

OAuthRedirect

import type { OAuthRedirect } from "https://esm.sh/@supabase/supabase-js@2.95.3/dist/index.d.mts";

OAuth redirect response when user has already consented or after consent decision. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.

This response is returned in three scenarios:

  1. User already consented to these scopes (auto-approved)
  2. User just approved the authorization request
  3. User just denied the authorization request

The redirect_url is a complete URL ready for redirecting the user back to the OAuth client, including authorization code (on success) or error (on denial) in query parameters, along with the state parameter if one was provided.

type OAuthRedirect = {
redirect_url: string;
}
;

§Type

§
{
redirect_url: string;
}
[src]