Set custom ID for ionic user?


#1

I’m currently migrating to the new beta versions of ionic user and ionic push.

In the old version I could set the user id with user.id = 34234234

Now, I need to authenticate and create a user:

        var details = {
          'email': email,
          'id': 12345,
          'password': 'goodpassword'
        };

Ionic.Auth.signup(details).then(signupSuccess, signupFailure);

But when I login to ionic.io and look at the newly created user the ID is still some generated string.

How can I set the Ionic user ID?


#2

Same here! I know that a solution would be to store in your custom backend the ionic ID, so you can send notifications to the new ionic ID, but it was much better to have the possibility to customize the id.


#3

you got any solution for that ? I am having the same problem too. @clevercat


#4

Looking for an answer. Where are the ionic guys?!!


#5

++1 with the same question


#6

Yes agreed this was much easier before when you could still provide your own user id.