Open cc-nishizawa opened 2 years ago
Can confirm. Using the following monkeypatch for now, based on your comment:
module OmniAuth
module Strategies
class CognitoIdP < OmniAuth::Strategies::OAuth2
def id_token
access_token.response.parsed['id_token']
end
end
end
end
A nil is returned at the following location. https://github.com/Sage/omniauth-cognito-idp/blob/v0.1.1/lib/omniauth/strategies/cognito_idp.rb#L76
When I did this, it worked correctly.