Can I know consumer_id and JWT id length?


#1

Now I want store consumer_id and JWT user config in my MySQL Database, so I need to know these field length.
I have two question:

  • First, consumer_id and JWT id length
  • Secnod, these length will be change in the future.

#2

Can get the consumer id:

ngx.ctx.authenticated_consumer.id, and its a uuid, 36 characters I think

jwt id(maybe? : ngx.ctx.authenticated_consumer.jwt.id ) is a uuid as well, same 36 characters.

And the lengths should not change :slight_smile: .