single_sign_on: encode the payload with strict_encode64 which doesn't add extraneous newlines
This commit is contained in:
parent
69920b7e60
commit
518e101ad6
|
@ -78,7 +78,7 @@ class SingleSignOn
|
|||
end
|
||||
|
||||
def payload
|
||||
payload = Base64.encode64(unsigned_payload)
|
||||
payload = Base64.strict_encode64(unsigned_payload)
|
||||
"sso=#{CGI::escape(payload)}&sig=#{sign(payload)}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue