Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Content Delivery API - 404 on /api/episerver/auth/token

$
0
0

Hiya Folks,

I'm currently in the process of figuring out how to work with the episerver content delivery API, and have added that package to a simple test project (build from an empty project), only using the episerver cms (no search, commerce or anything). 

Now if i access the /api/episerver/v2.0/site from a browser after logging in on the cms, I get a JSON containing quite some info. However when I access query for the same thing using postman or a browser that has not been logged in to the CMS I get a JSON containing only an Unauthorized error. Seems to me I should be able to fix this querying /api/episerver/auth/token to get an authorization token, yet when I try that I get an 404 error page (in html).

Does anyone know what I am missing or why i cannot get to auth/token?

PS: I do have Episerver.ContentDeliveryApi.OAuth in my references (Used nuget to install Episerver.ContentDeliveryApi)


Viewing all articles
Browse latest Browse all 6894

Trending Articles