krapio
Library referenceTypes

AuthorizeQuery

type AuthorizeQuery = {
  codeChallenge: string;
  redirectUri?: string;
  scope: readonly AppScope[];
  state: string;
};

what authorizeUrl puts in the query

Properties

PropertyTypeDescription
codeChallengestringchallenge of createPkce
redirectUri?stringwhen it differs from the one the instance was made with
scopereadonly AppScope[]profile is always added by Krunker; anything not approved for the app is refused with invalid_scope
statestringyour random value, tied to the visitor's session; 1 to 500 characters

On this page