You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use ActionCodeOperationconst provided by firebase/auth to do a regular mapping but I noticed that the values do not match the values used by the SDK.
ActionCodeOperation.VERIFY_EMAIL value is "VERIFY_EMAIL" but the mode used by firebase when sending emails is "verifyEmail" same for ActionCodeOperation.PASSWORD_RESET which has value "PASSWORD_RESET" but the mode param value from the URL is "resetPassword" and I believe that is true for every operation.
Isn't the idea that those values really match? Otherwise I don't see much value to provide this constant. At the moment I had to create my own which matches the value from links generated by firebase and I would expect the one from firebase/auth to do the job.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I tried to use
ActionCodeOperation
const
provided byfirebase/auth
to do a regular mapping but I noticed that the values do not match the values used by the SDK.ActionCodeOperation.VERIFY_EMAIL
value is"VERIFY_EMAIL"
but themode
used by firebase when sending emails is"verifyEmail"
same forActionCodeOperation.PASSWORD_RESET
which has value"PASSWORD_RESET"
but themode
param value from the URL is"resetPassword"
and I believe that is true for every operation.Isn't the idea that those values really match? Otherwise I don't see much value to provide this constant. At the moment I had to create my own which matches the value from links generated by firebase and I would expect the one from firebase/auth to do the job.
Kind regards,
Beta Was this translation helpful? Give feedback.
All reactions