shopify_app 22.1.0 → 22.2.1
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/CHANGELOG.md +28 -0
- data/Gemfile.lock +3 -3
- data/README.md +38 -0
- data/app/controllers/concerns/shopify_app/ensure_installed.rb +4 -3
- data/app/controllers/shopify_app/sessions_controller.rb +5 -1
- data/app/views/shopify_app/layouts/app_bridge.html.erb +17 -0
- data/app/views/shopify_app/sessions/patch_shopify_id_token.html.erb +0 -0
- data/config/routes.rb +1 -0
- data/docs/Troubleshooting.md +0 -23
- data/docs/Upgrading.md +14 -0
- data/docs/shopify_app/authentication.md +69 -6
- data/docs/shopify_app/sessions.md +110 -14
- data/lib/generators/shopify_app/install/templates/shopify_app.rb.tt +2 -0
- data/lib/shopify_app/admin_api/with_token_refetch.rb +27 -0
- data/lib/shopify_app/auth/token_exchange.rb +73 -0
- data/lib/shopify_app/configuration.rb +3 -3
- data/lib/shopify_app/controller_concerns/embedded_app.rb +27 -0
- data/lib/shopify_app/controller_concerns/ensure_billing.rb +11 -3
- data/lib/shopify_app/controller_concerns/login_protection.rb +7 -22
- data/lib/shopify_app/controller_concerns/redirect_for_embedded.rb +5 -0
- data/lib/shopify_app/controller_concerns/token_exchange.rb +75 -105
- data/lib/shopify_app/controller_concerns/with_shopify_id_token.rb +41 -0
- data/lib/shopify_app/middleware/jwt_middleware.rb +13 -9
- data/lib/shopify_app/session/jwt.rb +9 -0
- data/lib/shopify_app/version.rb +1 -1
- data/lib/shopify_app.rb +5 -0
- data/package.json +1 -1
- data/shopify_app.gemspec +1 -1
- metadata +10 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopify_app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 22.1
|
4
|
+
version: 22.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeresource
|
@@ -86,7 +86,7 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 14.
|
89
|
+
version: 14.3.0
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '15.0'
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 14.
|
99
|
+
version: 14.3.0
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '15.0'
|
@@ -314,6 +314,7 @@ files:
|
|
314
314
|
- app/controllers/shopify_app/extension_verification_controller.rb
|
315
315
|
- app/controllers/shopify_app/sessions_controller.rb
|
316
316
|
- app/controllers/shopify_app/webhooks_controller.rb
|
317
|
+
- app/views/shopify_app/layouts/app_bridge.html.erb
|
317
318
|
- app/views/shopify_app/partials/_button_styles.html.erb
|
318
319
|
- app/views/shopify_app/partials/_card_styles.html.erb
|
319
320
|
- app/views/shopify_app/partials/_empty_state_styles.html.erb
|
@@ -321,6 +322,7 @@ files:
|
|
321
322
|
- app/views/shopify_app/partials/_layout_styles.html.erb
|
322
323
|
- app/views/shopify_app/partials/_typography_styles.html.erb
|
323
324
|
- app/views/shopify_app/sessions/new.html.erb
|
325
|
+
- app/views/shopify_app/sessions/patch_shopify_id_token.html.erb
|
324
326
|
- app/views/shopify_app/shared/redirect.html.erb
|
325
327
|
- config/locales/cs.yml
|
326
328
|
- config/locales/da.yml
|
@@ -414,7 +416,9 @@ files:
|
|
414
416
|
- lib/shopify_app/access_scopes/noop_strategy.rb
|
415
417
|
- lib/shopify_app/access_scopes/shop_strategy.rb
|
416
418
|
- lib/shopify_app/access_scopes/user_strategy.rb
|
419
|
+
- lib/shopify_app/admin_api/with_token_refetch.rb
|
417
420
|
- lib/shopify_app/auth/post_authenticate_tasks.rb
|
421
|
+
- lib/shopify_app/auth/token_exchange.rb
|
418
422
|
- lib/shopify_app/configuration.rb
|
419
423
|
- lib/shopify_app/controller_concerns/app_proxy_verification.rb
|
420
424
|
- lib/shopify_app/controller_concerns/csrf_protection.rb
|
@@ -428,6 +432,7 @@ files:
|
|
428
432
|
- lib/shopify_app/controller_concerns/sanitized_params.rb
|
429
433
|
- lib/shopify_app/controller_concerns/token_exchange.rb
|
430
434
|
- lib/shopify_app/controller_concerns/webhook_verification.rb
|
435
|
+
- lib/shopify_app/controller_concerns/with_shopify_id_token.rb
|
431
436
|
- lib/shopify_app/engine.rb
|
432
437
|
- lib/shopify_app/errors.rb
|
433
438
|
- lib/shopify_app/jobs/webhooks_manager_job.rb
|
@@ -476,7 +481,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
476
481
|
- !ruby/object:Gem::Version
|
477
482
|
version: '0'
|
478
483
|
requirements: []
|
479
|
-
rubygems_version: 3.5.
|
484
|
+
rubygems_version: 3.5.10
|
480
485
|
signing_key:
|
481
486
|
specification_version: 4
|
482
487
|
summary: This gem is used to get quickly started with the Shopify API
|