omniauth-gov 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59fc74ddbc0e9597ed857fb5e0d81d23ba1cc39d68bf53df937cc1c6ac550fdd
4
- data.tar.gz: cb6cbb1cf394fa99880afdba93b0dbf12b53a5f1a3853ba944dcb2ff1509d773
3
+ metadata.gz: 4382955c4f28a771ef8edfbd054972b94f0dbd4158e739c2db9d75c9d16b2752
4
+ data.tar.gz: e142eddcfbb8cd54009c5c89a4e01d83d17f4c313b396b5251ffb90a101654a7
5
5
  SHA512:
6
- metadata.gz: 5d40363557839ba4743fef89876c43e66280f9d659641771ac8dd9ec577732f3de6e807672025416b355aac3ddb2ec2a413e012e9ae9daf8286ceea8747325f2
7
- data.tar.gz: 78b60e07c8ffffe0c4ac3e5d9348d7a6c2b7a38fb7adbad9e3fe1b99ba43daf21918ec5f9bd16a3add1bfd3dc033254fbde8c33833b46682d9a32ea88cabd93b
6
+ metadata.gz: '097c8c434da9ca2adde612b779846a2866de394e7ea44219c52aababbac2039d4d757dcded9dce6900a91b420f715a6db82d95ffe7a81776542e85a87c4499db'
7
+ data.tar.gz: f57cd09fb38f19707ea336b6576cde37608bf750a897be5884010df9fddc3ea582156e28ace70ddd452b93ba9d559e6528d28327738bc6a1d886009e58aa4c36
data/README.md CHANGED
@@ -10,7 +10,7 @@ Estratégia omniauth para integração do Login Único do governo brasileiro ao
10
10
  gem 'omniauth', '1.9.1'
11
11
  gem "omniauth-rails_csrf_protection", '0.1.2'
12
12
  gem 'omniauth-oauth2'
13
- gem 'omniauth-gov', '~> 0.1.2'
13
+ gem 'omniauth-gov', '~> 0.1.3'
14
14
  ```
15
15
 
16
16
  ## Configuração devise
@@ -4,9 +4,9 @@ module Omniauth
4
4
  module Strategies
5
5
  class Gov < OmniAuth::Strategies::OAuth2
6
6
  option :client_options, {
7
- site: 'https://sso.staging.acesso.gov.br',
8
- authorize_url: 'https://sso.staging.acesso.gov.br/authorize',
9
- token_url: 'https://sso.staging.acesso.gov.br/token'
7
+ site: 'https://sso.acesso.gov.br',
8
+ authorize_url: 'https://sso.acesso.gov.br/authorize',
9
+ token_url: 'https://sso.acesso.gov.br/token'
10
10
  }
11
11
  option :pkce, true
12
12
 
@@ -81,4 +81,4 @@ module Omniauth
81
81
  end
82
82
  end
83
83
 
84
- OmniAuth.config.add_camelization 'gov', 'Gov'
84
+ OmniAuth.config.add_camelization 'gov', 'Gov'
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Gov
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-gov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Ricardo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-22 00:00:00.000000000 Z
11
+ date: 2024-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth