-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notifier wont work with other opitions like 'identifyUserProps' #120
Comments
Ok I figured out what I was doing wrong: My notifier was actualy returning an object I just changed it to export the function. That was stupid. |
Hi Guzz, I'm facing the same issue, can you elaborate the solution, My notifier js looks similar to this
Config look like this
Please can you tell me how to fix it? |
haha I did the same thing (probably used the same tutorial!) @gchokeen this is probably too late, but you can configure authManagement like this, if your notifier is an object:
|
@janzheng Could you please explain? I still have this issue. |
Hello, The following works but I cannot change default identifyUserProps to use username instead of email.
Trying to change default options gives me the following error : TypeError: Cannot read property 'hooks' of undefined authmanagement.services.ts
Would you have any idea of the solution ? |
The expected
I guess you are using this tutorial and the notifier function is actually wrapped in a module exporting a closure in order to get access to the app. That's the reason of the way it is written |
@claustres |
Steps to reproduce
I am configuring authManagement in my app like this:
But notifier is not called when I make any actions from client like
sendResetPwd
.If I configure it like this:
It will work, but them I cant use the phone as a identifying property to my users.
The text was updated successfully, but these errors were encountered: