I have a problem with new tenant in Auth0, we have an application that was first created back in 2014 and it used the old legacy delegation endpoint. However we needed to create new Tenant in Auth0 for this application and now Auth0 is not supporting that delegation endpoint anymore. I see that it is deprecated and all docs refer that look here for migration guide but there isn’t any migration guides available. As it says here https://auth0.com/docs/migrations#api-authorization-with-third-party-vendor-apis " This new architecture will be available in 2019 and once it becomes available, the /delegation endpoint will be officially deprecated." We use this delegation endpoint for refreshing tokens.
Here is the request to delegation endpoint:
val request = ws.url(Play.application.configuration.getString("auth0.domain").getOrElse("") + "/delegation").withRequestTimeout(10000) .withHeaders("Content-Type" -> "application/json")
Can you help me on how to get this working again and what needs to be changed?