Skip to content

Commit

Permalink
fix: return to /auth/login url to prevent redirect loop if the callba…
Browse files Browse the repository at this point in the history
…ck service was failed
  • Loading branch information
aamsur committed Oct 14, 2024
1 parent 2e44a7d commit 5a8410c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Domain/Oidc/Controllers/Callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function get($params): Response
} catch (\Exception $e) {
$this->tpl->setNotification($e->getMessage(), 'danger', 'oidc_error');

return Frontcontroller::redirect(BASE_URL.'/oidc/login');
return Frontcontroller::redirect(BASE_URL.'/auth/login');
}
}
}

0 comments on commit 5a8410c

Please sign in to comment.