Hello & Happy new year 🙂 We are trying to implem...
# support-questions-legacy
u
Hello & Happy new year 🙂 We are trying to implement a welcome screen for new users. To do so, we'd like to check upon sign-in if a flag is up in our DB and redirect toward the welcome screen. We are using supertoken (v6.3.3 with supertoken-node v15.1.0) within a NestJs backend with the email + password recipe. According to the documentation : https://supertokens.com/docs/emailpassword/pre-built-ui/auth-redirection#change-redirection-path-post-login This should be possible, however when I try to add the
getRedirectionURL
function i'me getting the following error : > Object literal may only specify known properties, and 'getRedirectionURL' does not exist in type 'TypeInput'. When digging a bit, this error makes sense because the config param of the init function doesn't have a
getRedirectionURL
parameter (cf screenshots) Am I missing something ? Is the documentation up to date or do we need to upgrade our version ? Is there any other way to change the redirection URL upon signin ? Thanks in advance for your help 🙂
5 Views