kenpachi
kenpachi
BABetter Auth
Created by vz on 4/4/2025 in #help
useSession returns null
How did you manage to egt it working?
30 replies
BABetter Auth
Created by Tenuka on 4/6/2025 in #help
Zero Sync Authentication
How are you getting the jwt from authClient.token without passing the header options such as cookie ? are you sure you are getting a jwt token?
const token = await authClient.token({
header: {
Cookie: `better-auth.session_token=${getCookie("better-auth.session_token")}`,
}
})
const token = await authClient.token({
header: {
Cookie: `better-auth.session_token=${getCookie("better-auth.session_token")}`,
}
})
18 replies
BABetter Auth
Created by Tenuka on 4/6/2025 in #help
Zero Sync Authentication
no but i am on the latest version of better-auth I think the there is a conflict between the better auth secert and zero auth secert because whenever i add it i get the same error message
18 replies
BABetter Auth
Created by Tenuka on 4/6/2025 in #help
Zero Sync Authentication
Ok it worked with me, zero can can decode my jwt token through ZERO_AUTH_JWKS_URL='http://localhost:3000/api/auth/jwks' what i did was I removed the ZERO_AUTH_SECERT= and also i ended the cache server dev:cache rebuilt it with npm rebuild and it worked. i have no clue what made it work but yeah whenever i was runing into issues i just closed my cache dev and rebuilt and reran it
18 replies
BABetter Auth
Created by Tenuka on 4/6/2025 in #help
Zero Sync Authentication
Any luck? I am twisting my hair here thinking of with rolling my own session based/jwt
18 replies
SSolidJS
Created by ChrisThornham on 4/25/2024 in #support
Help Me Stop Theme Flashing In SolidStart
How did you manage to do it? I am using daisy ui and i tried writing my own provider and script it is very irritating my issue is the theme icons on intial render isn't the same
23 replies