def get_authorization_url(self, client_id=None, instance_id=None,<EOL>redirect_uri=None, region=None, scope=None,<EOL>state=None):
client_id = client_id or self.client_id<EOL>instance_id = instance_id or self.instance_id<EOL>redirect_uri = redirect_uri or self.redirect_uri<EOL>region = region or self.region<EOL>scope = scope or self.scope<EOL>state = state or str(uuid.uuid4())<EOL>self.state = state<EOL>return Request(<EOL>'<STR_LIT:GET>',<EOL>self.auth_base_url,<EOL>params={<EOL>'<STR_LIT>': client_id,<EOL>'<STR_LIT>': instance_id,<EOL>'<STR_LIT>': redirect_uri,<EOL>'<STR_LIT>': region,<EOL>'<STR_LIT>': '<STR_LIT:code>',<EOL>'<STR_LIT>': scope,<EOL>'<STR_LIT:state>': state<EOL>}<EOL>).prepare().url, state<EOL>
Generate authorization URL.

        Args:
            client_id (str): OAuth2 client ID. Defaults to ``None``.
            instance_id (str): App Instance ID. Defaults to ``None``.
            redirect_uri (str): Redirect URI. Defaults to ``None``.
            region (str): App Region. Defaults to ``None``.
            scope (str): Permissions. Defaults to ``None``.
            state (str): UUID to detect CSRF. Defaults to ``None``.

        Returns:
            str, str: Auth URL, state