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

Profile on registration #88

@dfliess

Description

@dfliess

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions