jira.js
    Preparing search index...

    Function generateAuthorizationUrl

    • Build the URL to send the user to so they can grant access.

      state is yours to generate and to verify when the callback comes back — it is what stops CSRF on the redirect.

      Parameters

      • params: {
            audience?: string;
            clientId: string;
            prompt?: string;
            redirectUri: string;
            scopes: string[];
            state: string;
        }

      Returns string