billions-minister-2901
09/27/2024, 9:11 PMbrief-egg-61061
09/27/2024, 9:11 PMbrief-egg-61061
09/27/2024, 9:12 PM/admin/identities
, you need to include it in the Authorization
header of your API call. The API key should be prefixed with Bearer
. Here's an example of how to do this: bash GET /admin/identities HTTP/1.1 Host: $<http://PROJECT_SLUG.projects.oryapis.com|PROJECT_SLUG.projects.oryapis.com> Accept: application/json Authorization: Bearer $API_KEY
In this example, replace $PROJECT_SLUG
with your project's slug and $API_KEY
with your actual API key. Remember, API keys are used to authorize privileged operations to Ory Network Project Admin APIs. They work only in the context of the Project for which they were created. You can create API Keys in the [Ory Console](https://console.ory.sh/). For more information, refer to the [Ory documentation](https://www.ory.sh/docs/concepts/personal-access-token#authorizing-ory-network-project-admin-apis).billions-minister-2901
09/27/2024, 9:29 PMbrief-egg-61061
09/27/2024, 9:29 PMbrief-egg-61061
09/27/2024, 9:29 PMbillions-minister-2901
09/27/2024, 9:29 PM{
"code": 404,
"status": "Not Found",
"request": "071bb436-8585-91fb-afdd-2b64252598d7",
"message": "Requested url does not match any rules"
}
brief-egg-61061
09/27/2024, 9:29 PMbrief-egg-61061
09/27/2024, 9:30 PMerror_hint
, error
, error_description
, error_debug
in the URL. You will likely find the cause of the error there. 3. Make sure the host, port, and path in the URL are correct. This is a common issue when you're just starting out and experimenting. 4. Set the environment variable OAUTH2_EXPOSE_INTERNAL_ERRORS=true
. This will cause Ory Hydra to set the error_debug
query parameter if debug information is available. However, don't do this in production as it could potentially leak important data. You can find more information about this in the [Hydra FAQ](https://www.ory.sh/docs/hydra/faq). If you're using Ory Oathkeeper, make sure your access rules are correctly configured. You can find more information about this in the [Oathkeeper documentation](https://www.ory.sh/docs/oathkeeper/configure-deploy#access-rules). If none of these solutions work, you may need to check your configuration or consult the relevant Ory documentation for more troubleshooting tips.