From 5390b6097c4898e70aadfbe7065d381c8cfdc049 Mon Sep 17 00:00:00 2001 From: erleibiazzio Date: Mon, 23 Oct 2023 09:38:58 -0300 Subject: [PATCH] =?UTF-8?q?Ajusta=20vari=C3=A1veis=20de=20ambiente=20das?= =?UTF-8?q?=20configura=C3=A7=C3=B5es=20do=20autenticador=20do=20GovBr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Provider.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Provider.php b/Provider.php index 62270cf..2310ba9 100644 --- a/Provider.php +++ b/Provider.php @@ -92,20 +92,20 @@ function __construct ($config) { 'govbr' => [ 'visible' => env('AUTH_GOV_BR_ID', false), 'response_type' => 'code', - 'client_id' => env('AUTH_CLIENT_ID', null), - 'client_secret' => env('AUTH_SECRET', null), - 'scope' => env('AUTH_SCOPE', null), - 'redirect_uri' => env('AUTH_REDIRECT_URI', null), - 'auth_endpoint' => env('AUTH_AUTH_ENDPOINT', null), - 'token_endpoint' => env('AUTH_TOKEN_ENDPOINT', null), + 'client_id' => env('AUTH_GOV_BR_CLIENT_ID', null), + 'client_secret' => env('AUTH_GOV_BR_SECRET', null), + 'scope' => env('AUTH_GOV_BR_SCOPE', null), + 'redirect_uri' => env('AUTH_GOV_BR_REDIRECT_URI', null), + 'auth_endpoint' => env('AUTH_GOV_BR_ENDPOINT', null), + 'token_endpoint' => env('AUTH_GOV_BR_TOKEN_ENDPOINT', null), 'nonce' => null, - 'code_verifier' => env('AUTH_CODE_VERIFIER', null), - 'code_challenge' => env('AUTH_CHALLENGE', null), - 'code_challenge_method' => env('AUTH_CHALLENGE_METHOD', null), - 'userinfo_endpoint' => env('AUTH_USERINFO_ENDPOINT', null), - 'state_salt' => env('AUTH_STATE_SALT', null), - 'applySealId' => env('AUTH_APPLY_SEAL_ID', null), - 'menssagem_authenticated' => env('AUTH_MENSSAGEM_AUTHENTICATED','Usuário já se autenticou pelo GovBr'), + 'code_verifier' => env('AUTH_GOV_BR_CODE_VERIFIER', null), + 'code_challenge' => env('AUTH_GOV_BR_CHALLENGE', null), + 'code_challenge_method' => env('AUTH_GOV_BR_CHALLENGE_METHOD', null), + 'userinfo_endpoint' => env('AUTH_GOV_BR_USERINFO_ENDPOINT', null), + 'state_salt' => env('AUTH_GOV_BR_STATE_SALT', null), + 'applySealId' => env('AUTH_GOV_BR_APPLY_SEAL_ID', null), + 'menssagem_authenticated' => env('AUTH_GOV_BR_MENSSAGEM_AUTHENTICATED','Usuário já se autenticou pelo GovBr'), 'dic_agent_fields_update' => [] ] ]