mirror of
https://github.com/plankanban/planka.git
synced 2025-12-21 17:25:39 +03:00
fix: Fallback to query if there is no fragment
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user