Hey, using Ktor I am trying to install different a...
# ktor
b
Hey, using Ktor I am trying to install different authentication for different endpoints. I tried splitting it into 2 modules and install the feature in each module and still get `io.ktor.application.DuplicateApplicationFeatureException: Conflicting application feature is already installed with the same key as `Authentication`` Am not sure if this is not the correct approach or if it's some mistake on my part. Any help would be appreciated.
I found the way to address the specific issue by providing multiple authentication configurations with unique names and then providing the name to the authenticate block. But the overall question still stands in case of other features like CORS, https redirect that I may want in some routes but not in others.