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 );