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 +4 -4
- data/README.md +1 -1
- data/lib/omniauth/strategies/gov.rb +4 -4
- data/lib/omniauth-gov/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4382955c4f28a771ef8edfbd054972b94f0dbd4158e739c2db9d75c9d16b2752
|
4
|
+
data.tar.gz: e142eddcfbb8cd54009c5c89a4e01d83d17f4c313b396b5251ffb90a101654a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
8
|
-
authorize_url: 'https://sso.
|
9
|
-
token_url: 'https://sso.
|
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'
|
data/lib/omniauth-gov/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2024-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|