From 7ffaa3f9ff97dfa4fcc0f0a6b474c1153106a884 Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Mon, 4 Jan 2021 15:10:20 +0100 Subject: [PATCH] Fix Twitter authentication when coming from Issuers (#2426) --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Twitter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Twitter.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Twitter.pm index 91addc06d..e42b1c426 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Twitter.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Twitter.pm @@ -78,7 +78,7 @@ sub extractFormInfo { $self->logger->debug('Redirection to Twitter'); # 1.1 Try to get token to dialog with Twitter - my $callback_url = $self->p->fullUrl($req); + my $callback_url = $self->p->portal; # Twitter callback parameter my %prm = ( twitterback => 1 );