omniauth / omniauth_openid_connect

MIT License
157 stars 186 forks source link

Authentication failure! no implicit conversion of Hash into String (version 0.6.1) #162

Open phyzalis opened 11 months ago

phyzalis commented 11 months ago

Hi,

I have just upgraded from version 0.5.0 to version 0.6.1.

I am not able to update to newest version because I am using another gem (oidc_provider) and it needs version 1 of openid_connect

I am now having issues when trying to connect and I am getting this error message :

 Authentication failure! no implicit conversion of Hash into String: TypeError, no implicit conversion of Hash into String

I was thinking that maybe the trick was this commit https://github.com/omniauth/omniauth_openid_connect/pull/157/files/d07bea0775c7aac8282e3ad6337efb227a783567 and I have tried to do a fork to implement it on version 0.6.1 but it is not working.

I don't know where to look at

davidwessman commented 11 months ago

Do you get this in tests or just in production?

Would be great if you could get a full backtrace: https://stackoverflow.com/a/8812140/4762756

phyzalis commented 11 months ago

I am in production and I would be happy to be able to have more logs than that

The only log I have before is

(fr_psc) Callback phase initiated.
(fr_psc) Authentication failure! no implicit conversion of Hash into String: TypeError, no implicit conversion of Hash into String
phyzalis commented 11 months ago

But I think the issue is with Faraday because version has been updated to be able to use the oidc_provider gem

Capture d’écran 2023-08-02 à 10 44 18