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
{{ message }}
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
I understand that to fill a user profile when registering with local strategy I have only one approach:
The ooth client must do the following:
Register
Authenticate
Update profile
I was thinking on Listen on the server for 'local', 'register' event and update the created event, but on that event I do not have the request that the client made.
Also tried to create a new endpoint on our API but
there is no way to get new user id with await ooth.callMethod('local', 'register', { email, password });
Any suggestions ?
It seems to be more difficult when someone registers with any oauth provider and you want to fill the user profile with the name for example, the ooth-google only sends the email and not the whole payload, not even the token so that we could do the query.
The text was updated successfully, but these errors were encountered:
I understand that to fill a user profile when registering with local strategy I have only one approach:
The ooth client must do the following:
I was thinking on Listen on the server for 'local', 'register' event and update the created event, but on that event I do not have the request that the client made.
Also tried to create a new endpoint on our API but
there is no way to get new user id with await ooth.callMethod('local', 'register', { email, password });
Any suggestions ?
It seems to be more difficult when someone registers with any oauth provider and you want to fill the user profile with the name for example, the ooth-google only sends the email and not the whole payload, not even the token so that we could do the query.
The text was updated successfully, but these errors were encountered: