1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

fix: Fallback to query if there is no fragment

This commit is contained in:
Maksim Eltyshev 2023-10-19 23:06:37 +02:00
parent 7c599d5c6f
commit ff2223c490

View file

@ -38,7 +38,8 @@ export function* authenticateUsingOidc() {
} }
export function* authenticateUsingOidcCallback() { export function* authenticateUsingOidcCallback() {
const params = new URLSearchParams(window.location.hash.substring(1)); // https://github.com/plankanban/planka/issues/511#issuecomment-1771385639
const params = new URLSearchParams(window.location.hash.substring(1) || window.location.search);
yield put(replace(Paths.LOGIN)); yield put(replace(Paths.LOGIN));