krapio
Library referenceTypes

OAuthCallback

type OAuthCallback = 
  | {
  code: string;
  kind: "code";
}
  | {
  actionId: string;
  kind: "action";
  status:   | "approved"
     | "denied"
     | "failed"
     | string & {
   };
};

what the redirect back says: a sign-in to exchange, or the outcome hint of a per-action approval