TiddlyWiki 5.1.18 logout

135 views
Skip to first unread message

Michael Chistyakov

unread,
Aug 22, 2018, 12:42:27 PM8/22/18
to TiddlyWiki
Hello!

I'm trying TiddlyWiki 5.1.18 prerelease and start it with the following command 

  tiddlywiki mywikifolder --listen username=test password=tset

I sign in with login/password, but when I refresh web-page or open new page I'm staying still logged in
I try to logout in  $:/ControlPanel  Server panel, but get the error 

XMLHttpRequest error code: 404

How to logout in this case?

Jeremy Ruston

unread,
Aug 22, 2018, 1:17:12 PM8/22/18
to tiddl...@googlegroups.com
Hi Michael

Basic authentication doesn’t properly define a way of logging out. Browser behaviour is inconsistent, but closing a browser window will generally clear the credential cache.

I have explored some hacks (eg https://tuhrig.de/basic-auth-log-out-with-javascript/), but I haven’t found a technique that reliably logs out without prompting the user for credentials.

Best wishes

Jeremy.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bbb4caf3-cf56-4247-bc62-efdfb5649694%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Chistyakov

unread,
Aug 24, 2018, 2:50:50 AM8/24/18
to TiddlyWiki
Thank you for answer!

Since I'm using nginx for revers proxy I found solution for logout https://stackoverflow.com/a/34240806


среда, 22 августа 2018 г., 20:17:12 UTC+3 пользователь Jeremy Ruston написал:
Reply all
Reply to author
Forward
0 new messages