I am trying to assign permission under a role using the Custom API identifier but getting an inexistent_resource_server error from the auth0 response.
API: https://auth0-domain/api/v2/users/google-oauth2|114917316204755618/permissions
Request:
{
"permissions": [
{
"resource_server_identifier": "http://localhost/api/v1/",
"permission_name": "hello:world"
}
]
}
Response:
{
"statusCode": 404,
"error": "Not Found",
"message": "The resource server does not exist: 'http://localhost/api/v1/'",
"errorCode": "inexistent_resource_server"
}