Hi there, I was wondering what best practice would be to bind a servlet
to a custom path based on a config. This servlet is an API endpoint, so
selectors won't help us too much. For example, I have a servlet at
/bin/foo/files, and I'd like to be able to configure that path to be at
/bin/bar/files, or even /bar/files, based on an OSGi config or something
similar with the path inside.
Hi @ChitraMadan ,I'm currently interfacing with a pre-built solution on
the other side. When we send the final token response back in AEM after
they POST to /oauth/token, we aren't sending any information on the
response about the formatting, so the other side casts it to an
octet-stream, which causes it to break as it is expecting
application/json. I just need to add on that information so that the
server on the other side reads the data correctly. If there's no good
solution for this, we could...
Hey there, I'm trying to get AEM to append a content-type header to the
response of /oauth/token, as the remote server posting a token is
expecting the application/json type back. I'm currently trying to use
filters to achieve this, and I can get a filter to activate on pretty
much every request EXCEPT the /oauth/token endpoint. Is there a way I
could get the filter to activate on that endpoint, or a better way to go
about this? Thanks!