rename: drop upstream-brand mention in OAuth callback comment

This commit is contained in:
2026-05-13 00:48:41 -07:00
parent a393be55b2
commit 28663bece0
+1 -1
View File
@@ -22,7 +22,7 @@ function CallbackInner() {
}
// Implicit flow: access_token may be in the hash fragment or query string
// (Casdoor returns it in the query string, standard OAuth2 uses hash)
// (Hanzo IAM returns it in the query string, standard OAuth2 uses hash)
const hash = window.location.hash.substring(1)
const hashParams = new URLSearchParams(hash)
const accessToken = hashParams.get('access_token') ?? searchParams.get('access_token')