eibiflo / cf_cookiemanager

Simple Typo3 Cookie Manager
GNU General Public License v2.0
10 stars 4 forks source link

Add default typo3 cookies #7

Closed kveldscholten closed 11 months ago

kveldscholten commented 11 months ago

It would make sense to add TYPO3 own cookies and create addTypo3ToRequired function to add TYOP3 Cookies to require category?

  {
    "id": 67,
    "created_at": null,
    "updated_at": null,
    "domain": null,
    "http_only": 0,
    "is_regex": 0,
    "name": "fe_typo_user",
    "service_identifier": "typo3",
    "path": "/",
    "secure": 0,
    "description": "This is used for session ID identification.",
    "description_de": "Dies wird zur Identifizierung der Session-ID verwendet.",
    "expiry": 0
  },
  {
    "id": 68,
    "created_at": null,
    "updated_at": null,
    "domain": null,
    "http_only": 0,
    "is_regex": 0,
    "name": "be_typo_user",
    "service_identifier": "typo3",
    "path": "/",
    "secure": 0,
    "description": "When a back-end user logs in to the front-end or back-end of TYPO3, it is used to identify the back-end session.",
    "description_de": "Wenn sich ein Back-End-Benutzer am Front-End oder Back-End von TYPO3 anmeldet, wird es verwendet, um die Back-End-Sitzung zu identifizieren.",
    "expiry": 0
  },
  {
    "id": 69,
    "created_at": null,
    "updated_at": null,
    "domain": null,
    "http_only": 0,
    "is_regex": 0,
    "name": "Typo3InstallTool",
    "service_identifier": "typo3",
    "path": "/",
    "secure": 0,
    "description": "Used to verify the session for system maintenance.",
    "description_de": "Wird verwendet, um die Sitzung für die Systemwartung zu überprüfen.",
    "expiry": 0
  },
  {
    "id": 70,
    "created_at": null,
    "updated_at": null,
    "domain": null,
    "http_only": 0,
    "is_regex": 0,
    "name": "be_lastLoginProvider",
    "service_identifier": "typo3",
    "path": "/",
    "secure": 0,
    "description": "The cookie contains the key of the Typo3 backend login provider used.",
    "description_de": "Das cookie enthält den Schlüssel des verwendeten Typo3-Backend-Anmeldeanbieters.",
    "expiry": 0
  }
eibiflo commented 11 months ago

@kveldscholten You are very welcome to join the Typo3 CF Cookiemanager slack for more Interactive conversations: https://typo3.slack.com/archives/C04NB2ZP30U

I'm not sure if I want to include backend cookies in the frontend cookie manager. What would be the advantage of doing so? The cookies are irrelevant for regular users in my opinion.

kveldscholten commented 11 months ago

Many cookie banners always specify all TYPO3 cookies by default instead of only fe_typo_user.

The cookie fe_typo_user set to all users when visit pages with forms or login. Then not required but add as choice option