Try our conversational search powered by Generative AI!

Content Delivery API Auth

Vote:
 

Hi there!

I used Content Delivery API withing EPiServer 11, But I going to move to EPiServer 12. I noticed that there are no Auth endpoints for the API v3 in doc Is it intended?

I tried Foundation site example https://github.com/episerver/Foundation/tree/net5. This site has dependencies for new Content Delivery API. But I cannot get how can I authenticate to the API using Postman. Should I implement auth by myself? Could you please guide me a little bit, guys.

Murad

#270696
Jan 27, 2022 15:39
Vote:
 

https://github.com/episerver/Foundation/blob/main/src/Foundation/Startup.cs#L115

EPiServer.OpenConnect provides token authentication

The endppint is api/episerver/connect/token

#270823
Jan 29, 2022 1:44
Vote:
 

It works. Thank you @Mark Hall!

#271047
Feb 02, 2022 15:30
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.