Library referenceTypes
AuthorizeQuery
type AuthorizeQuery = {
codeChallenge: string;
redirectUri?: string;
scope: readonly AppScope[];
state: string;
};what authorizeUrl puts in the query
Properties
| Property | Type | Description |
|---|---|---|
codeChallenge | string | challenge of createPkce |
redirectUri? | string | when it differs from the one the instance was made with |
scope | readonly AppScope[] | profile is always added by Krunker; anything not approved for the app is refused with invalid_scope |
state | string | your random value, tied to the visitor's session; 1 to 500 characters |