oidc_provider 0.4.0 → 0.5.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10bb08cbed4cbea9285dfffab50e3b3a399455808160062663977739a058c3cb
|
4
|
+
data.tar.gz: 91447fac3b4d5e55cf17a6b24f3aaec3cbf7a342078aa8f9a06a55aaa9641b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad8311652ee7d108ef25ea95550b4c33385f6d49f526343d04e7ec5f98bcaf0f9480d567903d3a5af9bf1c01f6380f579bb43f0ddb34ab5114ab87b67fe85c71
|
7
|
+
data.tar.gz: f8acc9980ff2f942fcd1f3ef1f696cbbea989bcb47e947cae78d739652a20f05bf1a84cd96ec654077bb5eff339fd5e74f30538e568dcb17c89e1836648d5c24
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ $ rails db:migrate
|
|
43
43
|
|
44
44
|
This gem signs the generated [JWT (JSON Web Tokens)](https://jwt.io/) using a
|
45
45
|
private key that should exist at the path `lib/oidc_provider_key.pem` in your
|
46
|
-
Rails application.
|
46
|
+
Rails application (or in the path defined in the OIDC_PROVIDER_PRIVATE_KEY_PATH).
|
47
47
|
|
48
48
|
You can pass its passphrase using the `OIDC_PROVIDER_KEY_PASSPHRASE` environment
|
49
49
|
variable.
|
@@ -18,7 +18,7 @@ module OIDCProvider
|
|
18
18
|
oauth_response.code = authorization.code
|
19
19
|
oauth_response.redirect_uri = @redirect_uri
|
20
20
|
oauth_response.approve!
|
21
|
-
redirect_to oauth_response.location
|
21
|
+
redirect_to oauth_response.location, allow_other_host: true
|
22
22
|
|
23
23
|
# If we ever need to support denied authorizations that is done by:
|
24
24
|
# oauth_request.access_denied!
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
namespace :oidc_provider do
|
4
|
-
desc 'Generate the
|
4
|
+
desc 'Generate the oidc_provider_key.pem key file'
|
5
5
|
task generate_key: :environment do
|
6
6
|
key_filepath = OIDCProvider::IdToken.oidc_provider_key_path
|
7
7
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oidc_provider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Carey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: openid_connect
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
rubygems_version: 3.3.
|
96
|
+
rubygems_version: 3.3.26
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Uses the openid_connect gem to turn a Rails app into an OpenID Connect provider.
|