better error handling

This commit is contained in:
Pablo Fernandez 2024-01-02 11:11:06 +00:00
commit 67c5252983
16 changed files with 931 additions and 125 deletions

View file

@ -68,6 +68,7 @@
<script>
// If callbackUrl is not provided, close the window
if (!"{{callbackUrl}}") {
window.close();
} else {
// If callbackUrl is provided, redirect to it
window.location.href = "{{callbackUrl}}";