Closed derekhe closed 1 year ago
That example curl
request is not for a self-hosted instance of Keygen, but rather to Keygen Cloud (i.e. it's to api.keygen.sh
).
What is your KEYGEN_HOST
environment variable set to? It should match the domain you're self-hosting Keygen on.
Depending on your TLD for KEYGEN_HOST
, you may need to set KEYGEN_DOMAIN
and KEYGEN_SUBDOMAIN
.
Closing due to lack of response. Feel free to add additional information and I'll reopen.
HI,
I setup my self-hosted server ref to: https://keygen.sh/docs/self-hosting/ The server is up, and the ping is working. My understand is that I should get a token ( https://keygen.sh/docs/api/tokens/#tokens-generate) to do other tasks but it failed:
The command always gives me errors. I've replaced the using the account slug, email and password when doing the setup.
Any suggestions?