mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 02:07:55 +00:00
841fcdbf54
B2B button now opens Bereketli (bereketli.pezkiwi.app) embedded in an iframe. PWAP exchanges the user's Supabase JWT for a Bereketli JWT via the existing /v1/auth/exchange endpoint, then passes tokens to the iframe via postMessage. User never sees a login screen. - New /bereketli route (ProtectedRoute) - Token caching in localStorage (10 min TTL) - Camera + geolocation permissions on iframe - Desktop and mobile layouts supported - Re-auth on token expiry via postMessage Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>