ueberauth / ueberauth_slack

Slack OAuth2 Strategy for Überauth
MIT License
23 stars 33 forks source link

Doesn't work with ueberauth 0.7.0 #38

Closed tomsharratt closed 2 years ago

tomsharratt commented 2 years ago

Authentication callback fails with CSFR error.

%Ueberauth.Failure.Error{message: "Cross-Site Request Forgery attack", message_key: :csrf_attack}
Hanspagh commented 2 years ago

Hi @tomsharratt.

This is linked to change made here https://github.com/ueberauth/ueberauth/pull/136 Something like this needs https://github.com/ueberauth/ueberauth_facebook/pull/65 needs to happen for the slack client aswell.

More docs can be found here https://github.com/ueberauth/ueberauth/blob/7ebc0aeeb17d0953bdc53a01018307fb03e0b189/lib/ueberauth/strategy.ex#L265

stwf commented 2 years ago

Great work on this! Works like a charm. Any chance you could push this new version to hex? TIA