Skip to content
Snippets Groups Projects
Commit cd78b58d authored by Sitraka Philippe RADAMANIRINA's avatar Sitraka Philippe RADAMANIRINA :santa_tone2:
Browse files

Merge remote-tracking branch 'origin/master'

parents bada54b4 9d561b11
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,17 @@ class AuthHandler
{
$attributes = $this->client->getUserAttributes();
if($this->client->getId() == "ademe" || $this->client->getId() == "tierslieuxorg" || $this->client->getId() == "fabmobio" || $this->client->getId() == "tierslieuxoccitanie"){
if($this->client->getId() == "ademe" || $this->client->getId() == "tierslieuxorg" || $this->client->getId() == "fabmobio" || $this->client->getId() == "tierslieuxoccitanie" || $this->client->getId() == "lescaecoop") {
// service configuré ici
// var_dump($attributes);
// exit;
// $email = ArrayHelper::getValue($attributes, 'email');
// $name = ArrayHelper::getValue($attributes, 'name');
// $username = ArrayHelper::getValue($attributes, 'preferred_username');
// if(empty($username)){
// $username = ArrayHelper::getValue($attributes, 'username');
// }
// $id = ArrayHelper::getValue($attributes, 'sub');
$email = ArrayHelper::getValue($attributes, 'email');
$name = ArrayHelper::getValue($attributes, 'name');
$username = ArrayHelper::getValue($attributes, 'preferred_username');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment