Multiple Ouath2 Enpoints



my API is protected with oauth2. But we have diffrent Test Enviroments and need diffrent Token URIs for each enviroment. How is this possible to describe in RAML.


MH that gets a bit more difficult, especially in multiple environment scenarios. If you are using 1.0, you can use annotations, but a tool needs to understand that.


I would add that I dont think the different environment settings belong in the RAML file itself. The RAML file describes the API. I would suspect a tool, if not available yet, should be expanded upon to allow you to input RAML, and a configuration setting for different environments. Perhaps RAML 1.0 Overlays may work for this as well? Not sure though.