From bc30f775fdb00ca9c462b546ec611724be8d7c86 Mon Sep 17 00:00:00 2001 From: Rizvy Ahmed <47289268+rah-wtag@users.noreply.github.com> Date: Wed, 25 May 2022 21:14:48 +0600 Subject: [PATCH] expose id_token inside extra hash of auth hash (#26) --- lib/omniauth/strategies/keycloak-openid.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/omniauth/strategies/keycloak-openid.rb b/lib/omniauth/strategies/keycloak-openid.rb index 01fb8ce..7995057 100755 --- a/lib/omniauth/strategies/keycloak-openid.rb +++ b/lib/omniauth/strategies/keycloak-openid.rb @@ -110,7 +110,8 @@ module OmniAuth extra do { - 'raw_info' => raw_info + 'raw_info' => raw_info, + 'id_token' => access_token['id_token'] } end