How to create seperate API for Admin and Production (v5)
See original GitHub issueUsing v5 KeystoneJS
Aforementioned, I’ve come across a scenario which requires me have different endpoints for the Admin UI / GraphiQL Playground and the actual API to be served as endpoint in production. We need this due to the fact that we are using a custom middleware (as Authentication Guard) to filter out unauthenticated requests before they can even reach the resolvers that actually process any incoming API requests.
For example:
Endpoint for Admin UI: /admin/keystone
Endpoint for Production: /api/v1
Can anyone help?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Admin API How-To Guides Overview - DocuSign Developers
Discover how to use the DocuSign Admin API to automate and programmatically execute administrative tasks for your organization's DocuSign accounts.
Read more >Ghost Admin API Documentation
Admin API keys can be obtained by creating a new Custom Integration under the Integrations screen in Ghost Admin. Keys for individual users...
Read more >What's new in API Connect V5 for IBM Cloud
APIs are now published inside a Product . Products provide a method by which you can group APIs into a package that is...
Read more >API (v5) - Pinterest Developers
Generate an OAuth access token by using an authorization code or a refresh token. IMPORTANT: You need to start the OAuth flow via...
Read more >Manage API Keys - TechDocs - Broadcom Inc.
As a Portal Admin and API owner, you can define more granular access within a single application by adding API key/secret pairs for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you can always run another instance of keystone connected to same database and mount
admin-ui
in that instance which listen to a separate port or internal IP instead of default.You should be able to set those with the
adminPath
andapiPath
AdminUI App config options.