mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
11 lines
455 B
Ruby
11 lines
455 B
Ruby
--- lib/omniauth/strategies/azure_oauth2.rb.orig 2022-08-12 07:08:52 UTC
|
|
+++ lib/omniauth/strategies/azure_oauth2.rb
|
|
@@ -65,7 +65,7 @@ module OmniAuth
|
|
|
|
def raw_info
|
|
# it's all here in JWT http://msdn.microsoft.com/en-us/library/azure/dn195587.aspx
|
|
- @raw_info ||= ::JWT.decode(access_token.token, nil, false).first
|
|
+ @raw_info ||= ::JWT.decode(access_token.token, nil, false, algorithm: 'RS256').first
|
|
end
|
|
|
|
end
|