gardner / react-oauth2-pkce

React auth provider that works with AWS cognito PKCE🛡️🔒
49 stars 57 forks source link

[Enhancement] id_token_hint #47

Open ginosubscriptions opened 2 years ago

ginosubscriptions commented 2 years ago

Hi,

I've been using react-oauth2-pkce and it works really great. However, I'm using an authentication flow that requires to pass the id_token_hint instead of the public client_id when performing a logout. It looks like there is no mechanism to override the standard behavior of passing client_id, nor is there an option to pass id_token_hint. Is this something that can be added in the future?

Thanks in advance for your reply.