omniauth-mpassid 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/omniauth/strategies/mpassid.rb +2 -0
- data/lib/omniauth-mpassid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b9b5c7f66fc026d4c99975dacd6b4ed74fa375eeaaf9cac28b3d326bf16d3e
|
4
|
+
data.tar.gz: 6181a71513c88a33ebfb549a1b4f3a596e892e1e4e24fbf78f783df7313e5507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 073c27bedb1e4cbb13b5f40fc5683bea48507bf348ac69e32eb585d2d127d78ddc6ea9bf1dda0945189001562967ff24382da382bd825d3357fe8653ac8d2c56
|
7
|
+
data.tar.gz: 5c30c4c96e99c713872f79b64ed3a3c80787d0a014902f766b47b2abc17c06975802e86b2319bed393f62211d623b65c07282cbe6b0d159065cfc14e4ecdb152
|
data/README.md
CHANGED
@@ -84,6 +84,13 @@ Devise.setup do |config|
|
|
84
84
|
end
|
85
85
|
```
|
86
86
|
|
87
|
+
## Testing
|
88
|
+
|
89
|
+
Once the gem is installed and configured properly, it can be tested with the
|
90
|
+
test accounts available at:
|
91
|
+
|
92
|
+
https://wiki.eduuni.fi/display/OPHPALV/Test+accounts+available+for+testing
|
93
|
+
|
87
94
|
## Identification Responses
|
88
95
|
|
89
96
|
The user's data is transmitted from MPASSid in the SAML authentication
|
@@ -266,6 +266,8 @@ module OmniAuth
|
|
266
266
|
authn_request = OneLogin::RubySaml::Authrequest.new
|
267
267
|
lang = lang_for_authn_request
|
268
268
|
|
269
|
+
session['saml_redirect_url'] = request.params['redirect_url']
|
270
|
+
|
269
271
|
with_settings do |settings|
|
270
272
|
url = authn_request.create(settings, additional_params_for_authn_request)
|
271
273
|
url += "&lang=#{CGI.escape(lang)}" unless lang.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-mpassid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antti Hukkanen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-saml
|