Join Discord
Powered by
Umbraco V12 Content API protected by JWT token?
# help-with-umbraco
m
MadhackerZA
08/03/2023, 7:26 PM
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
Janae
08/03/2023, 8:07 PM
Hi
@MadhackerZA
! Sebastiaan very recently wrote a blog post about doing this:
https://dev.to/cultiv/using-jwt-tokens-to-access-an-umbracoapicontroller-3f88
Janae
08/03/2023, 8:08 PM
I don't know for sure if it works with the content API but it's a good clue!
s
Sebastiaan
08/04/2023, 7:17 AM
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
Previous
Next