Files
myeasycms-v2/apps/web
Giancarlo Buomprisco 25ab47afb1 Use getClaims in the middleware for faster requests (#305)
* chore(version): bump version to 2.12.1 and update auth middleware to use getClaims instead of getUser

- Incremented version in package.json from 2.12.0 to 2.12.1.
- Refactored middleware to replace supabase.auth.getUser() with supabase.auth.getClaims() for improved claims handling.
- Updated user checks in middleware to validate claims instead of user object.

* refactor(middleware): update user authentication to utilize getClaims for improved claims validation

- Replaced calls to supabase.auth.getUser() with supabase.auth.getClaims() in middleware for better claims handling.
- Adjusted user validation checks to ensure claims are used instead of the user object, enhancing security and consistency in authentication flow.

* refactor(auth): update VerifyPage to use getClaims for user validation

- Replaced the use of supabase.auth.getUser() with supabase.auth.getClaims() in the VerifyPage component for improved claims handling.
- Adjusted user validation logic to check for claims instead of the user object, enhancing security and consistency in the authentication flow.
2025-07-16 20:36:44 +08:00
..
2024-10-30 20:49:44 +08:00
2025-05-20 11:58:02 +08:00
2025-03-25 10:26:32 +08:00
2025-04-10 10:48:51 +08:00
2025-02-07 11:38:29 +08:00
2025-04-10 08:41:07 +08:00
2025-01-28 14:19:52 +08:00
2025-02-07 11:38:29 +08:00

Your Application

Write here everything about your application.