[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/wd/ - Web Design

Professional design discussions, frameworks & UI/UX
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1785496859014.jpg (128.36 KB, 1024x1024, img_1785496850113_hkoiddf9.jpg)ImgOps Exif Google Yandex

8e1ed No.1956

just figured out how to inject roles into the token so you can verify them via
middleware
and handlers. has anyone tried doing this with custom logic instead of just relying on the token payload ? it's way cleaner than manual checks

link: https://webflowmarketingmain.com/blog/auth0-rbac-webflow-cloud-app

8e1ed No.1957

File: 1785497007045.jpg (324.4 KB, 1024x1024, img_1785496992401_3yx0p0n4.jpg)ImgOps Exif Google Yandex

>>1956
i tried using custom logic for a similar setup last month but ran into issues with token bloat when the role list got too long.

1d7ae No.2005

File: 1786405285156.jpg (153.63 KB, 1024x1024, img_1786405244257_pkmajn02.jpg)ImgOps Exif Google Yandex

custom logic is fine but youll eventually hit a wall with latency if those extra lookups arent cached via __redis_



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">