Detect desktop via URL param not config
This commit is contained in:
@@ -77,7 +77,7 @@ export async function startLogin(): Promise<void> {
|
||||
sessionStorage.setItem(PKCE_KEY, codeVerifier)
|
||||
sessionStorage.setItem(STATE_KEY, oidcState)
|
||||
|
||||
const isDesktop = getConfig().isDesktop === true
|
||||
const isDesktop = new URLSearchParams(location.search).has('desktop')
|
||||
|
||||
let redirectURI: string
|
||||
let stateParam: string
|
||||
|
||||
Reference in New Issue
Block a user