src/Module/Authentication/OAuth.php
protected function startAuthentication()
    {
        $authorizationUrl = $this->provider->getAuthorizationUrl();
        $this->session->migrate(true);
        $this->session->set("oauth2state", $this->provider->getState());
        
        // The final redirect, halts the script
        $this->picoAuth->redirectToPage($authorizationUrl, null, false);
    }
protected function startAuthentication()
    {
        $authorizationUrl = $this->provider->getAuthorizationUrl();
        $this->session->migrate(true);
        $this->session->set("oauth2state", $this->provider->getState());
        
        // The final redirect, halts the script
        $this->picoAuth->redirectToPage($authorizationUrl, null, false);
    }
Starts the OAuth 2.0 process

Redirects to the authorization URL of the selected provider