fix: enhance logging in token introspection and validation for better debugging
This commit is contained in:
@@ -165,7 +165,7 @@ async function handleRedirectCallback(): Promise<string | null> {
|
||||
})
|
||||
|
||||
const result = await response.json()
|
||||
const token = result.id_token || result.access_token
|
||||
const token = result.access_token || result.id_token
|
||||
if (response.ok && token) {
|
||||
setLocalToken(token)
|
||||
return token
|
||||
|
||||
Reference in New Issue
Block a user