oauth_im 0.15.5 → 0.15.7

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: d0801f2cfd7bbb797459860aad80993f2924f706b9af5afbcc893f72c168f062
4
- data.tar.gz: 221c422dcd6ad79787c75242df79cc1744b48c76778fd831c1a57653de629f92
3
+ metadata.gz: 8f9d486ac9a077749dc8fcc642d24d0c3ec2eacc4ed04957fb2486da11406c4b
4
+ data.tar.gz: eeed30cba0bb594ae3630c1d793c6d7a03f5722ebf80d91cc01223f8731c31b8
5
5
  SHA512:
6
- metadata.gz: b935fda06f3bb7c368d8902e06e263023f2e4972d6f16a5068823132ebb70825f2962c3d6e1a9a48a7c8ddf4ec44eb6d39b9e308389dc4e3220964edeacc4425
7
- data.tar.gz: b671cf2d285bb5f85cc4394edd74fd918b9a55c33dfb9cd720381bea2dd9319db18a9a823e0ba3503a0a8026315e8986ab3695aeec5e344250df7243b180281b
6
+ metadata.gz: b2994b14152ce77cf9bad50b7a4d5189726b436d9d5911ce413068cd3d5f445c03e69649d8a1a40af21ed1756a6c96322bef47105dd72d558674aab25de00579
7
+ data.tar.gz: 90ca83c7d8d2504f0bee2768dcb258a3f1c8d3a3b52c9e00b137e4070c96adfa2c7600e7f1e9ffa8ff3db2b02ed371f7e87f20fef93201d3e0919cf09d7d9ab6
@@ -30,12 +30,12 @@ module OauthIm
30
30
  # Set the referer path, if available, so that we can put the user
31
31
  # back on the page they were at before they decided the log in.
32
32
  session[:oauth_im_login_referer] = request.referer
33
- redirect_to oauth_client.login_url
33
+ redirect_to oauth_client.login_url, allow_other_host: true
34
34
  end
35
35
 
36
36
  def logout
37
37
  reset_session
38
- redirect_to oauth_client.logout_url
38
+ redirect_to oauth_client.logout_url, allow_other_host: true
39
39
  end
40
40
 
41
41
  def local_login
@@ -84,7 +84,8 @@ module OauthIm
84
84
  end
85
85
 
86
86
  def reset_attrs
87
- @attrs = AdminClient.new.proxy_attrs_for(user_id: user_id)
87
+ @attrs =
88
+ AdminClient.new(api_key: api_key, idp_url: idp_url).proxy_attrs_for(user_id: user_id)
88
89
  self
89
90
  end
90
91
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OauthIm
4
- VERSION = '0.15.5'
4
+ VERSION = '0.15.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth_im
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.5
4
+ version: 0.15.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Connally
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-18 00:00:00.000000000 Z
11
+ date: 2025-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fusionauth_client
@@ -164,7 +164,7 @@ metadata:
164
164
  homepage_uri: https://github.com/illustrativemathematics/oauth_im
165
165
  source_code_uri: https://github.com/illustrativemathematics/oauth_im
166
166
  rubygems_mfa_required: 'true'
167
- post_install_message:
167
+ post_install_message:
168
168
  rdoc_options: []
169
169
  require_paths:
170
170
  - lib
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubygems_version: 3.0.3
183
- signing_key:
183
+ signing_key:
184
184
  specification_version: 4
185
185
  summary: Provide oauth functionality for IM apps.
186
186
  test_files: []