Ghost url api cors error


I config my ghost website is, I can request tags by ghost url api, but by subdomain cant, there is cors error


This guide contains the details for how to grant access to external domains:


Thanks Hannah :slight_smile:


This post was flagged by the community and is temporarily hidden.


I kown the client id is ghost_frontend, but what is the client secret?

I have insert a record to client_trusted_domains,the client secret is the client id in table below?

but it does not work!

About cors, maybe it is bug!

@cmlance Opening multiple threads resulted in them being automatically marked as spam. I have merged them together.

I don’t fully understand your last question about the client secret - this can be found by using the ghost.url.api() helper, or viewing the source of your blog, or in the clients table.