omniauth-vis 0.1.4 → 0.1.5

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: 6e29ae7398db54ed0b7b6bceb083635b83a702e53fcf072d79495580239401ae
4
- data.tar.gz: 833d785abed6b3fb7deb2e20cb9650330735480e70eb106c3c5458235ff723e7
3
+ metadata.gz: 2311402bef3b4dd30c6cb4d11bfca2b7b5c4b9e8f36e01511ce91051d5f6b54c
4
+ data.tar.gz: e14a4a71e63c0d77979d7706a6ed3ca966fd05eb9d3dd61c0b3fe970f5398d4f
5
5
  SHA512:
6
- metadata.gz: 25963599268b5b5eb21aef9a1ee8f311f171948cf157625a1f15e99a625685fa67c9899c486a1f705266aaa0f0c0dc72651eedf5a87d8951d9d17fafdf7bef47
7
- data.tar.gz: e6f1c7edbf178aacf9f6d3423984849ff6140f5c4161f20998624fc7ebdeaa4e84b932c82660fab1836a4f371b8e85f19f48975a234ce2a0dd84eaf9e11f37fd
6
+ metadata.gz: dcd8da9459a012e00e3992f907a2a77197b1f7342fc3b6912156bdfc7b8319823c44a5648e9ceba8267bb7fcfca3f47ffd0d6a501d1a66b1431e5d9e764b59a6
7
+ data.tar.gz: f3e35dd275dcc5132dff07a8b90fa5a4416a9fe2053a7a37f1e2b4be89ef9190d50df987e2dfb28db47623097f5068ffc57675bd32d4b695340c5c1b53b5b350
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.5] - 2025-03-17
4
+
5
+ ### Fixed
6
+
7
+ - include the `scope: default` parameter in the POST Token request, as it is now required by the latest versions of the doorkeeper-gem
8
+
3
9
  ## [0.1.4] - 2025-01-09
4
10
 
5
11
  ### Added
data/README.md CHANGED
@@ -65,12 +65,9 @@ Example
65
65
  encrypted_password: "xxxxxxxxxx"
66
66
  })
67
67
  ```
68
-
69
68
  ## Developers, how to publish new version of the gem
70
69
 
71
- ```
72
70
  * update the `CHANGELOG.md` file, see https://keepachangelog.com
73
71
  * increase `gem.version` in `omniauth-vis.gemspec`
74
72
  * `gem build omniauth-vis`
75
73
  * `gem push omniauth-vis-X.X.X.gem`
76
- ```
data/lib/vis/api.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Vipassna Identity Server Service - for server to server Oauth 2 client_credentials grant flow
1
+ # Vipassana Identity Server Service - for server to server Oauth 2 client_credentials grant flow
2
2
  # gets tokens so we can use the VIS API
3
3
  module Vis
4
4
  class OauthError < StandardError; end
@@ -35,7 +35,7 @@ module Vis
35
35
  http_client, uri = http_client_and_uri "/oauth/token"
36
36
  request = Net::HTTP::Post.new(uri.request_uri)
37
37
  request.set_form_data({ "client_id" => @client_id, "client_secret" => @client_secret,
38
- "grant_type" => "client_credentials" })
38
+ "grant_type" => "client_credentials", "scope" => "default" })
39
39
  http_client.request(request)
40
40
  end
41
41
 
data/omniauth-vis.gemspec CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'omniauth-vis'
5
- gem.version = '0.1.4'
5
+ gem.version = '0.1.5'
6
6
  # gem.license = 'MIT'
7
- gem.summary = 'Helper to connect to Vipassna Identity Server'
7
+ gem.summary = 'Helper to connect to Vipassana 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']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-vis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dhamma workers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-09 00:00:00.000000000 Z
11
+ date: 2025-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -61,5 +61,5 @@ requirements: []
61
61
  rubygems_version: 3.5.23
62
62
  signing_key:
63
63
  specification_version: 4
64
- summary: Helper to connect to Vipassna Identity Server
64
+ summary: Helper to connect to Vipassana Identity Server
65
65
  test_files: []