timothymiller / t4-app

A powerful cross-platform UI toolkit for building actually native iOS, Android, macOS, Windows, Linux, and Progressive Web Apps with React (Native).
https://t4stack.com
MIT License
1.31k stars 69 forks source link

Authentification issue on Safari #114

Closed guioum closed 7 months ago

guioum commented 7 months ago

Tested on Safari for Mac, Version 17.1 (19616.2.9.11.7). Doesn't work. Tested on Chrome for Mac, it works.

I can login using the password login option, after redirection, I can see the 'Sign out' button. If I refresh the page or go to the 'fetch data' page, the buttons are back to 'Sign In Sign Up', and it says 'Protected Route - Not authenticated'.

Also have this error in the terminal:

mf:inf] OPTIONS /trpc/auth.secretMessage 204 Not Found (1ms)
[mf:inf] GET /trpc/auth.secretMessage 401 Unauthorized (1ms)
timothymiller commented 7 months ago

I suspect a recent package upgrade for supabase caused this. Tbh, instead of debugging I'm going to spend more time on Lucia auth since it's so close to being finished.

guioum commented 7 months ago

Lucia over Cloudflare D1, that looks promising :-) 👍

timothymiller commented 7 months ago

This issue is fixed!