Skip to content

how to add profile data with registration? #203

Description

@fransyozef

So I'm using IONIC/Angular to register an user. That works. But what kind of http param do I need to set in order to create a profile key in the user document data? For example I want to add "name". So when I do the login request, I will get the "name" in the profile object.

My code (Angular)

              const body = new HttpParams()
              .set('name', name)
              .set('username', username.toLowerCase())
              .set('email', email.toLowerCase())
              .set('password', password)
              .set('confirmPassword', password)
              .set('profile.name', name)
              ;

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