Clémence
Clémence
KKinde
Created by Clémence on 11/22/2024 in #💻┃support
Can we send the signin link of our app in an Email from my NextJS app?
I managed to make it work by using it 'raw,' but there might be a cleaner way to do this.
const link = `${process.env.NEXT_PUBLIC_BASE_URL}/api/auth/login?post_login_redirect_url=${process.env.NEXT_PUBLIC_BASE_URL}/dashboard`;
const link = `${process.env.NEXT_PUBLIC_BASE_URL}/api/auth/login?post_login_redirect_url=${process.env.NEXT_PUBLIC_BASE_URL}/dashboard`;
3 replies