Umbraco V12 Content API protected by JWT token?
# help-with-umbraco
m
I've just gone over the documentation of Umbraco V12's Content API and noticed that you can protect it with a api-key, but is it possible to protect it with a JWT token?
j
Hi @MadhackerZA! Sebastiaan very recently wrote a blog post about doing this: https://dev.to/cultiv/using-jwt-tokens-to-access-an-umbracoapicontroller-3f88
I don't know for sure if it works with the content API but it's a good clue!
s
Content Delivery API isapi-key only at the moment. Describe your use case for us in a feauture request as to why you'd prefer JWT. They seem extremerly similar to me so please elaborate here: https://github.com/umbraco/Umbraco-CMS/discussions/new?category=features-and-ideas