Kihura
BABetter Auth
•Created by Kihura on 3/25/2025 in #help
Can not change the issuer and audience of JWT header and also the payload
So tried to change the issuer and the audience of my jwt config by following the documentation but it's not working as expected here it's my config
'plugins: [
jwt({
jwt: {
issuer: env.BETTER_AUTH_URL,
audience: env.REDIRECT_PROXY_URL,
expirationTime: "1h",
},
jwks: {
keyPairConfig: {
alg: "EdDSA",
crv: "Ed25519",
},
},
}),
],'
so env.BETTER_AUTH_URL and env.REDIRECT_PROXY_URL are defined and i tried to hard coded some string and i get the same result , the audience and issuer that i get are the base wich in my situation is the url of my api3 replies