Get a resource server by its id or audience

The resource-server API documentation reads "Get a resource server by its id or audience.

I managed to retrieve a resource server with its ids fine (GET /resource-servers/{id}), put using the audience itselfs fails (probably because this makes a weird request like GET /resource-servers/https://whatever/api)

Is it possible to retrieve the resource-server, by encoding the audience somehow ?

Turns out it works, I though I was encoding the URL right by I made a mistake.

So this works: GET /resource-servers/https%3A%2F%2Fwhatever%2Fapi

1 Like

Perfect! Glad you have it working in the end!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.