oauth_im 0.9.1 → 0.9.2
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 +6 -0
- data/app/services/oauth_im/request_client.rb +1 -3
- data/lib/oauth_im/version.rb +1 -1
- data/lib/oauth_im.rb +3 -6
- 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: 98d097fc63cfed0036ed0d71348d46641b870d78be7f13cdca990cc00793f4c9
|
|
4
|
+
data.tar.gz: 8308890358478cfd66420278d8739fe718fcde66d6d12aa81588ccdc2bd8b54e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c089a1599692d321d4361d03d92f6ca79c65b11072230de43cc7225727a6bbfc633e242fe68209a4f60034e2127f1a2b350282f7c2331a6b0d1193c01068e381
|
|
7
|
+
data.tar.gz: 23eca7c41af07bc4a72d47159f1e7c8834af7b4cfe2bcf9c8092face5f6e9c0a28d8135880a692e590a7f19e50edfbb6374c3345c453f9ac678982a0e269dca0
|
data/README.md
CHANGED
|
@@ -139,6 +139,12 @@ After many false starts, this repo includes two (seemingly functional) github wo
|
|
|
139
139
|
|
|
140
140
|
## Version History
|
|
141
141
|
|
|
142
|
+
### 0.9.2
|
|
143
|
+
* Fix redirect url
|
|
144
|
+
* No longer does it take user back to page they were on
|
|
145
|
+
* This caused problems with FusionAuth which wants all redirect URLs whitelisted
|
|
146
|
+
* Update initializer defaults
|
|
147
|
+
|
|
142
148
|
### 0.9.1
|
|
143
149
|
* Facilitate specs for privileged users by providing spec_user_data on AppContext
|
|
144
150
|
|
|
@@ -13,9 +13,7 @@ module OauthIm
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def logout_url
|
|
16
|
-
@logout_url ||= "#{idp_url}/oauth2/logout"
|
|
17
|
-
"?post_logout_redirect_uri=#{return_to_url}" \
|
|
18
|
-
"&client_id=#{client_id}"
|
|
16
|
+
@logout_url ||= "#{idp_url}/oauth2/logout?client_id=#{client_id}"
|
|
19
17
|
end
|
|
20
18
|
|
|
21
19
|
def user_jwt
|
data/lib/oauth_im/version.rb
CHANGED
data/lib/oauth_im.rb
CHANGED
|
@@ -12,13 +12,10 @@ module OauthIm
|
|
|
12
12
|
DEFAULT_AUTH_AUTHORIZE_URL = '/oauth2/authorize'
|
|
13
13
|
DEFAULT_AUTH_CALLBACK_ROUTE = 'callback'
|
|
14
14
|
DEFAULT_AUTH_TOKEN_URL = '/oauth2/token'
|
|
15
|
-
DEFAULT_AUTH_IDP_URL = 'https://illustrativemath-dev.fusionauth.io'
|
|
16
15
|
DEFAULT_AUTH_ISS_DOMAIN = 'illustrativemathematics.org'
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
DEFAULT_AUTH_HMAC = nil
|
|
21
|
-
DEFAULT_AUTH_RSA_PUBLIC = nil
|
|
16
|
+
DEFAULT_AUTH_IDP_URL_LIVE = 'https://login.illustrativemathics.org'
|
|
17
|
+
DEFAULT_AUTH_IDP_URL_TEST = 'https://illustrativemath-dev.fusionauth.io'
|
|
18
|
+
DEFAULT_AUTH_IDP_URL = DEFAULT_AUTH_IDP_URL_TEST
|
|
22
19
|
|
|
23
20
|
class << self
|
|
24
21
|
attr_reader :configuration
|
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.9.
|
|
4
|
+
version: 0.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Connally
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fusionauth_client
|