Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
try to fix undefined SSO_BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Kresna committed Feb 17, 2022
1 parent 52b2171 commit 520b586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function getToken()
$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => "{$_ENV['SSO_BASE_URL']}/realms/{$this->realm}/protocol/openid-connect/token",
CURLOPT_URL => $_ENV['SSO_BASE_URL']."/realms/{$this->realm}/protocol/openid-connect/token",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
Expand Down Expand Up @@ -60,7 +60,7 @@ public function isTokenActive($token)
$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => "{$_ENV['SSO_BASE_URL']}/realms/{$this->realm}/protocol/openid-connect/token/introspect",
CURLOPT_URL => $_ENV['SSO_BASE_URL']."/realms/{$this->realm}/protocol/openid-connect/token/introspect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
Expand Down

0 comments on commit 520b586

Please sign in to comment.