omniauth-vis 0.0.2 → 0.0.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 +3 -0
- data/omniauth-vis.gemspec +2 -2
- 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: fdd4c10203c5710b3c62ac43b1a9c64004e5c3e64318328e7985e51511450234
|
4
|
+
data.tar.gz: d417fd2c9b6adc15c50f6ec17338f95558fc6180180317c16c8e841ed7b19355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d85c45082f44121f849c191ae94f2318b53b53aadb47e95afef9f147f0761bceb154ed33224a531713c45a2dfa85811d4cbf78d4ce1190ec18faa5c5188cbb4
|
7
|
+
data.tar.gz: cfde28bc2a2c5a5c65e73bd7e5895effdd043cc89d9f3a598c8c7650bcd0ba6748c4fa913374995c354070b50881ff23f0e9599377d00bfa8b6d2219489735aa
|
data/README.md
CHANGED
@@ -40,6 +40,8 @@ You first need to install `omniauth-oauth2` gem, then add a new provider :
|
|
40
40
|
```
|
41
41
|
# config/initializers/omniauth.rb
|
42
42
|
|
43
|
+
require "omniauth/strategies/vis"
|
44
|
+
|
43
45
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
44
46
|
provider :vis, Rails.application.config.vis["app_id"], Rails.application.config.vis["app_secret"],
|
45
47
|
{
|
@@ -53,6 +55,7 @@ end
|
|
53
55
|
`Vis::Api` will implement [Oauth2 Client Credentials Flow](https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow) behind the scene
|
54
56
|
|
55
57
|
```
|
58
|
+
require "vis/api"
|
56
59
|
@vis_api = Vis::Api.new
|
57
60
|
@vis_service.get("api_path")
|
58
61
|
@vis_service.post("api_path", data)
|
data/omniauth-vis.gemspec
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'omniauth-vis'
|
5
|
-
gem.version = '0.0.
|
5
|
+
gem.version = '0.0.3'
|
6
6
|
# gem.license = 'MIT'
|
7
7
|
gem.summary = 'Helper to connect to Vipassna Identity Server'
|
8
8
|
gem.description = 'This allows you to connect to Vipassana identity server with your ruby app'
|
9
9
|
gem.authors = ['Dhamma workers']
|
10
10
|
gem.email = ['sebastian.castro@dhamma.org', 'ryan.johnson@dhamma.org']
|
11
|
-
|
11
|
+
gem.homepage = 'https://github.com/dhammaorg/omniauth-vis'
|
12
12
|
|
13
13
|
gem.files = `git ls-files`.split("\n")
|
14
14
|
gem.require_paths = ['lib']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-vis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dhamma workers
|
@@ -39,7 +39,7 @@ files:
|
|
39
39
|
- lib/omniauth_vis.rb
|
40
40
|
- lib/vis/api.rb
|
41
41
|
- omniauth-vis.gemspec
|
42
|
-
homepage:
|
42
|
+
homepage: https://github.com/dhammaorg/omniauth-vis
|
43
43
|
licenses: []
|
44
44
|
metadata: {}
|
45
45
|
post_install_message:
|