atomic_lti 1.8.2 → 1.8.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d6721ea8f65b8dde67201355110c46bf4a1facfde6428e9e323bc2d7fc5d387
|
|
4
|
+
data.tar.gz: 2731a248c9d96bba81d5514ae076130bb6d3e631dd79baa771c2552aac714ede
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67296ec1f021a201dc631db13ed1cffdd31c026dd3fb5850d4c86e56de0243ab468b1caa5fab4f8042a4acebe353210b19ba95714eb6f1c094e2124cd3c1819a
|
|
7
|
+
data.tar.gz: 8b83c8d9a72d59032312fd095e67783ea29790329e9de74f04bf611667fa380ceea51f40f238142efbbe7a1507b2c04bd0029ec8be92763f2529fea425961eec
|
|
@@ -64,7 +64,7 @@ module AtomicLti
|
|
|
64
64
|
payload = {
|
|
65
65
|
iss: install.client_id, # A unique identifier for the entity that issued the JWT
|
|
66
66
|
sub: install.client_id, # "client_id" of the OAuth Client
|
|
67
|
-
aud: platform.token_url, # Authorization server identifier
|
|
67
|
+
aud: [platform.authorization_server || platform.token_url], # Authorization server identifier
|
|
68
68
|
iat: Time.now.to_i, # Timestamp for when the JWT was created
|
|
69
69
|
exp: Time.now.to_i + 300, # Timestamp for when the JWT should be treated as having expired
|
|
70
70
|
# (after allowing a margin for clock skew)
|
|
@@ -206,8 +206,6 @@ module AtomicLti
|
|
|
206
206
|
build_lti_storage_params(request, platform)
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
-
@app.call(env)
|
|
210
|
-
|
|
211
209
|
# Delete the state cookie
|
|
212
210
|
status, headers, body = @app.call(env)
|
|
213
211
|
# Rack::Utils.delete_cookie_header(headers, "#{OPEN_ID_COOKIE_PREFIX}#{state}")
|
data/lib/atomic_lti/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atomic_lti
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Petro
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-
|
|
13
|
+
date: 2024-06-17 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: pg
|
|
@@ -105,6 +105,7 @@ files:
|
|
|
105
105
|
- db/migrate/20220503003528_create_atomic_lti_jwks.rb
|
|
106
106
|
- db/migrate/20221010140920_create_open_id_state.rb
|
|
107
107
|
- db/migrate/20230726040941_add_state_to_open_id_state.rb
|
|
108
|
+
- db/migrate/20240612163118_add_platform_authorization_server.rb
|
|
108
109
|
- db/seeds.rb
|
|
109
110
|
- lib/atomic_lti.rb
|
|
110
111
|
- lib/atomic_lti/engine.rb
|