You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Update authentication documentation for clarity and completeness
- Revise the authentication section to enhance readability and structure.
- Introduce Single Sign-On (OIDC) details and emphasize security best practices.
- Consolidate information on built-in username/password and session management.
However, if you implement your own session management system using the [`cookie` component](/documentation.sql?component=cookie#component),
104
-
you should be careful to follow the [OWASP session management best practices](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#cookies).
105
-
Implementing your own session management system is not recommended if you are a non-technical user and don''t have a good understanding of web security.
89
+
Use either the built-in username/password or Single Sign-On; both follow safe defaults.
90
+
91
+
### Built-in username/password
92
+
93
+
SQLPage provides an [authentication](/documentation.sql?component=authentication#component) component to protect pages,
94
+
with helpers like [`sqlpage.basic_auth_username()`](/functions.sql?function=basic_auth_username#function),
95
+
[`sqlpage.basic_auth_password()`](/functions.sql?function=basic_auth_password#function), and
0 commit comments