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' => [] ] ]