anyone successfully using the Adobe CF API Manager...
# cfml-general
a
anyone successfully using the Adobe CF API Manager? I've been playing around with it and it seems rather clunky and thrown together. I'm having second thoughts about attempting to use it
s
I attempted it a couple times and both times ended up just writing my own API without the API manager... both times it was because I simply felt like using the API manager made things harder instead of easier.
I usually just end up writing an API cfm or CFC file that all api requests run though which handles API security, request logging, etc, then uses a conventions based mapping to an actual CFC for executing the particular API method and then converts the CFCs response in whatever format my API needs to output in (usually JSON)
a
well, I used Coldbox to create a rest api and the endpoints work (testing through Postman), but I was looking for something prebuilt to manage authentication using Oauth or similar, set thresholds and provide documentation and test console. I've been looking at swagger also, but when testing my api through the swagger proxy there seem to be lots of javascript errors.
s
Both times I attempted to use the API manager, I still wrote my own authentication code... I haven't tried using the built in authentication stuff
a
yea, so far for something that is supposed to be an enterprise feature, I'm unimpressed
s
I would probably stick with your coldbox architecture and I imagine with coldbox you would create an interceptor to handle the security part of the API requests
(I'm not a coldbox master as I have only used it on a few projects where it already existed, but I'm sure there are plenty of others that could help you there if needed)
a
yea, I'm pretty new to Coldbox, but I think it does have a module to handle security, but I haven't researched it yet