CreateUserToken
Returns a Motto-signed JWT for the user. This token can be used to authenticate the user in the Motto content-delivery API.
Note: this endpoint can be used even without a configured identity platform, nor does CreateUser need to be called. Passing a user_id that is not known to Motto will work just as well. This is useful in situations where an external identity platform is used, and you only wish to use the user_id in combination with e.g. Motto’s entitlement service.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ROLE_UNSPECIFIED
, ROLE_DEFAULT
, ROLE_TESTER
, ROLE_VIP
OK
The response is of type object
.