descope 1.0.5 → 1.0.6
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/.github/workflows/publish-gem.yaml +30 -5
- data/Gemfile +3 -3
- data/Gemfile.lock +12 -20
- data/README.md +18 -3
- data/descope.gemspec +25 -20
- data/examples/ruby/.ruby-version +1 -0
- data/examples/ruby/access_key_app.rb +4 -3
- data/examples/ruby/enchantedlink_app.rb +1 -0
- data/examples/ruby/magiclink_app.rb +1 -0
- data/examples/ruby/management/.ruby-version +1 -0
- data/examples/ruby/management/Gemfile +2 -2
- data/examples/ruby/management/access_key_app.rb +2 -0
- data/examples/ruby/management/audit_app.rb +32 -8
- data/examples/ruby/management/authz_app.rb +1 -0
- data/examples/ruby/management/flow_app.rb +1 -0
- data/examples/ruby/management/permission_app.rb +3 -2
- data/examples/ruby/management/role_app.rb +3 -2
- data/examples/ruby/management/tenant_app.rb +1 -0
- data/examples/ruby/management/user_app.rb +1 -0
- data/examples/ruby/oauth_app.rb +1 -0
- data/examples/ruby/otp_app.rb +38 -12
- data/examples/ruby/password_app.rb +8 -7
- data/examples/ruby/saml_app.rb +1 -0
- data/examples/ruby/version_check.rb +17 -0
- data/examples/ruby-on-rails-api/descope/Gemfile +3 -1
- data/examples/ruby-on-rails-api/descope/Gemfile.lock +121 -90
- data/examples/ruby-on-rails-api/descope/README.md +18 -18
- data/examples/ruby-on-rails-api/descope/app/assets/builds/application.css +20092 -23
- data/examples/ruby-on-rails-api/descope/app/assets/builds/application.js +0 -1
- data/examples/ruby-on-rails-api/descope/app/assets/builds/components/index.js +0 -14
- data/examples/ruby-on-rails-api/descope/package-lock.json +1021 -19306
- data/examples/ruby-on-rails-api/descope/package.json +8 -16
- data/examples/ruby-on-rails-api/descope/yarn.lock +459 -10641
- data/lib/descope/api/v1/auth/otp.rb +21 -14
- data/lib/descope/api/v1/auth.rb +17 -20
- data/lib/descope/api/v1/management/audit.rb +24 -0
- data/lib/descope/api/v1/management/common.rb +1 -0
- data/lib/descope/mixins/common.rb +5 -2
- data/lib/descope/mixins/validation.rb +21 -6
- data/lib/descope/version.rb +1 -1
- data/spec/integration/lib.descope/api/v1/auth/otp_spec.rb +72 -7
- data/spec/integration/lib.descope/api/v1/management/audit_spec.rb +36 -0
- data/spec/integration/lib.descope/api/v1/management/roles_spec.rb +1 -1
- data/spec/lib.descope/api/v1/auth/otp_spec.rb +176 -18
- data/spec/lib.descope/api/v1/auth_spec.rb +1 -1
- data/spec/lib.descope/api/v1/management/audit_spec.rb +92 -0
- metadata +25 -133
- data/examples/ruby-on-rails-api/descope/app/assets/builds/reportWebVitals.js +0 -211
- data/examples/ruby-on-rails-api/descope/app/assets/builds/reportWebVitals.js.map +0 -7
@@ -3,25 +3,17 @@
|
|
3
3
|
"private": true,
|
4
4
|
"proxy": "http://127.0.0.1:3000",
|
5
5
|
"dependencies": {
|
6
|
-
"@descope/react-sdk": "^2.0.
|
6
|
+
"@descope/react-sdk": "^2.0.15",
|
7
7
|
"@hotwired/stimulus": "^3.2.2",
|
8
|
-
"@hotwired/turbo-rails": "^
|
8
|
+
"@hotwired/turbo-rails": "^8.0.4",
|
9
9
|
"@popperjs/core": "^2.11.8",
|
10
|
-
"
|
11
|
-
"bootstrap": "^5.3.2",
|
10
|
+
"bootstrap": "^5.3.3",
|
12
11
|
"bootstrap-icons": "^1.11.3",
|
13
|
-
"
|
14
|
-
"node-sass": "^9.0.0",
|
15
|
-
"nodemon": "^3.0.3",
|
16
|
-
"postcss": "^8.4.33",
|
17
|
-
"postcss-cli": "^11.0.0",
|
12
|
+
"nodemon": "^3.1.0",
|
18
13
|
"react": "^18.2.0",
|
19
14
|
"react-dom": "^18.2.0",
|
20
|
-
"react-router-dom": "^6.
|
21
|
-
"
|
22
|
-
"sass": "^1.70.0",
|
23
|
-
"tslib": "^2.6.2",
|
24
|
-
"web-vitals": "^2.1.4"
|
15
|
+
"react-router-dom": "^6.22.3",
|
16
|
+
"sass": "^1.75.0"
|
25
17
|
},
|
26
18
|
"scripts": {
|
27
19
|
"build": "node build.js",
|
@@ -43,9 +35,9 @@
|
|
43
35
|
]
|
44
36
|
},
|
45
37
|
"devDependencies": {
|
46
|
-
"dotenv": "^16.
|
38
|
+
"dotenv": "^16.4.5",
|
47
39
|
"env": "^0.0.2",
|
48
|
-
"esbuild": "^0.
|
40
|
+
"esbuild": "^0.20.2",
|
49
41
|
"esbuild-envfile-plugin": "^1.0.5"
|
50
42
|
}
|
51
43
|
}
|