stytch 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2534e355696eda17e5f4b8dac2b21335fdd54183c29c9ac694ac8886caceccbd
4
- data.tar.gz: fcf8fea062ec5e2964fb3a32a2154a869b2e8256f6b7331e7aa29f7e52b2d0a8
3
+ metadata.gz: e91043619b43a9897c4df68cdfbdcff3153d21c09dcb0ba2fa0c7f7c2d8d2135
4
+ data.tar.gz: 5f925cecd213b77e7e5991b95016849d81cb9a017bc3f0bebbc62d53e8d6f562
5
5
  SHA512:
6
- metadata.gz: deb23398868a541f5a0cf46d2314c27e9d50675948d190edc4696457e7dfd79f412a60bcd36140d2cbd2f17267919b1cd46ff60c648abb8a58c12021f27027b4
7
- data.tar.gz: 5f763a8e124baf69867d99b8f80e76cbbe78bfb6d27199be31a097680187d90e24cb69bf66b97580e523b7287f3d41f97a007f5007d729d28d146721c66e314b
6
+ metadata.gz: 1066e9ee807780bbe7d1a5f255b844553615ed93889ca129320ec499e494acc98321bdc48c6ae47c7eaf2ddc9a9410bb9e2e81e4dd92a5e72a87a3178384fd25
7
+ data.tar.gz: d765dcf96b92bb7bdd65b0b710b27f94069635f61c3d74bdb376b7c8a086c7888f794c273bcb84617d1f2df2a737cbf2eedc5c50c3455b502c0a9371478df5d2
@@ -114,7 +114,7 @@ module Stytch
114
114
  def marshal_jwt_into_session(jwt)
115
115
  stytch_claim = "https://stytch.com/session"
116
116
  return {
117
- "session_id" => jwt["jti"],
117
+ "session_id" => jwt[stytch_claim]["id"],
118
118
  "user_id" => jwt["sub"],
119
119
  "started_at" => jwt[stytch_claim]["started_at"],
120
120
  "last_accessed_at" => jwt[stytch_claim]["last_accessed_at"],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '3.1.0'
4
+ VERSION = '3.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stytch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - stytch
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-26 00:00:00.000000000 Z
11
+ date: 2022-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -78,7 +78,7 @@ dependencies:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
80
  version: 1.13.0
81
- description:
81
+ description:
82
82
  email:
83
83
  - support@stytch.com
84
84
  executables: []
@@ -118,7 +118,7 @@ licenses:
118
118
  metadata:
119
119
  homepage_uri: https://stytch.com
120
120
  source_code_uri: https://github.com/stytchauth/stytch-ruby
121
- post_install_message:
121
+ post_install_message:
122
122
  rdoc_options: []
123
123
  require_paths:
124
124
  - lib
@@ -133,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  requirements: []
136
- rubygems_version: 3.0.3.1
137
- signing_key:
136
+ rubygems_version: 3.1.6
137
+ signing_key:
138
138
  specification_version: 4
139
139
  summary: Stytch Ruby Gem
140
140
  test_files: []