Bug 8015 - Web Access can't be used when cookies are disabled
Summary: Web Access can't be used when cookies are disabled
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-26 16:04 CEST by Samuel Mannehed
Modified: 2022-11-01 12:43 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2022-10-26 16:04:34 CEST
Some users might want to disable cookies in their browsers. These settings affect both "regular" cookies and JavaScript's localStorage.

Until bug 8014 is fixed, we encounter a JavaScript crash due to the localStorage being blocked.

However, even once that crash is fixed, Web Access won't work since we use a cookie for authentication. Temporarily disabling the code that requires localStorage results in the login failing with the following message shown to the user:

> Failed to connect to server
> 

And this in tlwebaccess.log:

> 2022-10-26 16:00:42 ERROR tlwebaccess[3228208]: [::ffff:10.47.4.80] Missing authorization cookie for user 'tester'
>

Note You need to log in before you can comment on or make changes to this bug.