-
Thank you very much for this library! It was exactly what I was looking for. Unfortunately I had tough times to properly set this up (mainly because it seems that the integration varies heavily depending on the provider itself). For Github (oauth2) and Google (oidc), the examples provided went pretty well. But for Slack (both oauth2 and oidc) I ran into issues. Regarding Slack's OIDC flow, I used the OIDC-code that also worked for Google, but it seems that there is no code challenge supported. It requires a Lines 2951 to 2968 in e4c3c56 I fixed it by modifying the sample code to check if According to the OpenID spec, the "none" is optional, but Slack seem to rely on it. But it doesn't mention what "optional" means, as you expect if nonce is not given, it should not be present instead of an empty string. Because the issue could also be on my end, I also tested the flow using Didn't know where to post this, not sure if it's an issue, therefore going with a discussion 😉 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @dswbx
Yes, that's inherent for every provider that doesn't follow the specs, I wholeheartedly recommend to open bug reports and/or support issues with every provider that doesn't follow the specs. It is not possible for the examples to account for individual provider issues though. I've updated the examples in 1140165 to hopefully reflect non-signalled PKCE support in a bit more detail. |
Beta Was this translation helpful? Give feedback.
Hi @dswbx
Yes, that's inherent for every provider that doesn't follow the specs, I wholeheartedly recommend to open bug reports and/or support issues with every provider that doesn't follow the specs. It is not possible for the examples to account for individual provider issues though.
I've updated the examples in 1140165 to hopefully reflect non-signalled PKCE support in a bit more detail.