|
13 | 13 | 'wizard' => 'true', |
14 | 14 | 'timeout' => '24 hours', |
15 | 15 | 'strategies' => [ |
16 | | - 'Facebook' => [ |
| 16 | + 'govbr' => [ |
| 17 | + 'client_id' => env('AUTH_GOV_BR_CLIENT_ID', null), |
| 18 | + 'client_secret' => env('AUTH_GOV_BR_CLIENT_SECRET', null), |
| 19 | + 'scope' => env('AUTH_GOV_BR_SCOPE', 'openid email profile phone govbr_confiabilidades'), |
| 20 | + 'visible' => env('AUTH_GOV_BR_ID', true), |
| 21 | + 'response_type' => 'code', |
| 22 | + 'scope' => 'openid email profile phone govbr_confiabilidades', |
| 23 | + 'redirect_uri' => 'https://experimente-minc.mapas.tec.br/autenticacao/autenticacao/govbr/oauth2callback', |
| 24 | + 'auth_endpoint' => 'https://sso.staging.acesso.gov.br/authorize', |
| 25 | + 'token_endpoint' => 'https://sso.staging.acesso.gov.br/token', |
| 26 | + 'nonce' => 'abc', |
| 27 | + /*'userinfo_endpoint' => 'https://sso.staging.acesso.gov.br/jwk',*/ |
| 28 | + 'state_salt' => "mapasminc", |
| 29 | + 'code_challenge_method' => 'S256', |
| 30 | + 'code_challenge' => env('AUTH_GOV_CODE_CHALLENGE', 'wwheOwufT6pFeAuIaHo8QmMT4k6r2gh0N1X_zHQK7LU'), |
| 31 | + 'code_verifier' => env('AUTH_GOV_CODE_VERIFIER', 'vbQ71yzBAphMeargyG6EG_It9P6-kqSIrgRyT-hGwIQ'), |
| 32 | + 'applySealId' => 1, |
| 33 | + 'menssagem_authenticated' => "", |
| 34 | + 'dic_agent_fields_update' => [ |
| 35 | + 'nomeCompleto' => 'full_name', |
| 36 | + 'name' => 'name', |
| 37 | + 'documento' => 'cpf', |
| 38 | + 'cpf' => 'cpf', |
| 39 | + 'emailPrivado' => 'email', |
| 40 | + 'telefone1' => 'phone_number', |
| 41 | + ] |
| 42 | + ], |
| 43 | + |
| 44 | + 'Facebook' => [ |
17 | 45 | 'app_id' => env('AUTH_FACEBOOK_APP_ID', null), |
18 | 46 | 'app_secret' => env('AUTH_FACEBOOK_APP_SECRET', null), |
19 | 47 | 'scope' => env('AUTH_FACEBOOK_SCOPE', 'email'), |
20 | 48 | ], |
21 | | - |
| 49 | + |
22 | 50 | 'Google' => [ |
23 | 51 | 'client_id' => env('AUTH_GOOGLE_CLIENT_ID', null), |
24 | 52 | 'client_secret' => env('AUTH_GOOGLE_CLIENT_SECRET', null), |
|
0 commit comments