diff --git a/lib/Auth0Factory.php b/lib/Auth0Factory.php index e38e923..306c828 100644 --- a/lib/Auth0Factory.php +++ b/lib/Auth0Factory.php @@ -38,7 +38,7 @@ public function factory() 'persist_id_token' => $this->config->getValueFlag(self::CONFIG_PERSIST_ID_TOKEN), 'persist_access_token' => $this->config->getValueFlag(self::CONFIG_PERSIST_ACCESS_TOKEN), 'persist_refresh_token' => $this->config->getValueFlag(self::CONFIG_PERSIST_REFRESH_TOKEN), - 'scope' => $this->config->getValueFlag(self::CONFIG_SCOPE), + 'scope' => $this->config->getValue(self::CONFIG_SCOPE), ]); return $auth0; }