File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ auth.addEventListener('logout', () => {
145145### Header Mode (` show-profile=false ` )
146146
147147Default mode. Shows:
148+
148149- ** Logged out** : "Log in" button → redirects to login.hotosm.org
149150- ** Logged in** : Avatar dropdown with:
150151 - Profile link
@@ -163,6 +164,7 @@ Default mode. Shows:
163164### Profile Mode (` show-profile=true ` )
164165
165166Shows full Hanko auth form (for login page):
167+
166168- ** Logged out** : Hanko passkey/email form
167169- ** Logged in** : Profile card + OSM status + logout button
168170
@@ -182,6 +184,7 @@ Shows full Hanko auth form (for login page):
182184## Hanko URL Detection
183185
184186Priority order:
187+
1851881 . ` hanko-url ` attribute
1861892 . ` <meta name="hanko-url" content="..."> ` tag
1871903 . ` window.HANKO_URL ` global
@@ -274,6 +277,7 @@ document.addEventListener('visibilitychange', () => {
274277## Debug Mode
275278
276279Enable with:
280+
277281- URL param: ` ?debug=true `
278282- LocalStorage: ` localStorage.setItem('hanko-auth-debug', 'true') `
279283
You can’t perform that action at this time.
0 commit comments