Token for user management

Hi,

I’m trying out the new user management feature. I’ve done the followings

  1. Start a daml sandbox
  2. Start a JSON API service
  3. Configured Auth0 to create admin claim token (the one with admin : true)
  4. Created some users on the daml sandbox

Does anyone know that how to create token for the user or what the user token should look like? I assume this is a token in different format, i.e. no longer need to have actAs and readAs.

1 Like

You can find the description of the new token format in the docs. Note that it’s not just actAs and readAs claims that have disappeared. The admin claim is also gone. For bootstrapping you get a user called participant_admin which has an admin claim so you can use the token for that user to create other users.

1 Like