Possible to generate token programmatically?

Hi!

This might be a stupid question, but how would one get a generated token? Is it possible to do this programmatically? Currently I create it by my own, by using the JWT secret and jwt.io.

But is there any function where the user can login (again, programmatically) and get the signed JWT token? Or do I need to implement it myself?

Thanks!

There is an internal api endpoint which you could use (/api/internal/login) but when integrating, I suggest you generate your own JWT token using one of the many libraries (for Java, Python, Go, PHP, Ruby…) that are available