Skip to content

Commit

Permalink
Allow for more valid continue urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Aug 26, 2024
1 parent 8551988 commit 9871a38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/login/utilities.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export function isValidRedirect(url: string): boolean {
// For now, /authorize is the only valid URL to redirect to
return url.startsWith('/authorize');
return url.startsWith('/');
}

0 comments on commit 9871a38

Please sign in to comment.