Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Profile on registration #88

Open
dfliess opened this issue May 22, 2019 · 1 comment
Open

Profile on registration #88

dfliess opened this issue May 22, 2019 · 1 comment

Comments

@dfliess
Copy link

dfliess commented May 22, 2019

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:

  1. Register
  2. Authenticate
  3. 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.

@dfliess
Copy link
Author

dfliess commented Aug 27, 2019

@nmaro can you help us with this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant