Is the only way to change the expiration of magic links through the `PASSWORDLESS_CODE_LIFETIME` env...
p
Is the only way to change the expiration of magic links through the
PASSWORDLESS_CODE_LIFETIME
env variable on the docker image for core? Was looking to configure per project not per environment.
r
hey @puff6248 what you say per project vs per env, what do you mean? Do you want to run several apps via one core?
p
Yeah. We're self hosting Supertokens Core in docker and having multiple Next js applications backend configs talk to that single core instance per environment.
r
right. So this is possible in the latest core version, wherein you can create multiple apps in the core. Each of your nextjs app will communicate to the same core with a unique app ID, and this way, the user pool and the configs of that app ID will be isolated to each of the nextjs apps. Here, you can set different values for PASSWORDLESS_CODE_LIFETIME on a per app level.
p
Gotchya, thanks ill check it out
2 Views