Closed MoonTTMM closed 10 months ago
You most likely didn't configure the KEYGEN_HOST
environment variable correctly. It should be set to the domain name you're accessing Keygen under, e.g. licensing.example.com
.
Regardless, since most Keygen installations are singleplayer, you should be able to forego the /accounts/<account>
prefix. I.e. /v1/accounts/foobar/tokens
would become /v1/tokens
.
Thanks, /v1/tokens works. Do not see any doc mentioned that.
I have self hosted a server following the doc. The ping and health api works fine. But other api just respond Not found. There's log on keygen's console like:
method=POST path=/v1/accounts/foobar/tokens format=jsonapi controller=ErrorsController action=show status=404
This is my request: