ContributionsMost RecentMost LikesSolutionsRe: Unable to invoke a custom endpoint from another custom endpoint AdamN Thanks for your feedback. Yes you are correct. We are calling the endpoint from the same community. As suggested, we will look into having an endpoint/macro instead of making a http.client call. Unable to invoke a custom endpoint from another custom endpoint Hi Everyone, Since Khoros migrated to AWS from their private data center, I started seeing an issue with one of our existing functionality. We are actually invoking a custom end point from another custom endpoint using http.client.request After migration, this started giving us "401 Authorization Required" HTML response. Below is the call which is having the issue: <#assign pointValueResp= http.client.request(lithium_endpoint_url + "/get_message_point_value?postId=${parentPostId}").get()/> where lithium_endpoint_url is communitystage url (https://communitystage.help.ea.com/ea/plugins/custom/electronicarts/ea), get_message_point_value is a custom endpoint and parentPostId is a parameter. As a workaround, I am able to fix this issue on stage by adding a Authorization header to this call as below: <#assign pointValueResp= http.client.request(lithium_endpoint_url + "/get_message_point_value?postId=${parentPostId}").header("Authorization","Basic " + lithium_auth_token).get()/> How can this be fixed with whitelisting instead of adding a header? Thanks and Regards, Sunil Methra Solved"Accepted solution" not floated for sorting order "newest first" We have enable setting 'floated accepted solution and 'Float Accepted Solutions on the top of threads' from admin. If we sort the accepted solution post by "newest first" then accepted solution block will disappear and its working fine for other sorting.Your help could be appreciated. Thanks SolvedAdvanced search is not working Hi, We are using advanced search. If we search the post (example - test) and applied advanced search(search for exact string for example - test 12) on search result(example-test) then not getting exact search result instead it return all the result(example - test). Your help could be appreciated. Thanks Re: How to logout user from third party domain. TariqHussain, Thanks. We are calling below api from third party using ajax post request, still user is not getting logout. http://community.lithium.com/community-name/restapi/vc/authentication/sessions/logout can you please let us know anything is missing. Re: How to logout user from third party domain. TariqHussain Thanks for help. We have created endpoint and we are calling api "http://community.lithium.com/community-name/restapi/vc/authentication/sessions/logout" using rest.If we hits the endpoint in browser,then user is not getting logout. If we calling this endpoint from third party domain using ajax then also user is not getting logout. How to logout user from third party domain. Required API which we will call it from another domain delete the cookie of Lithium login user. we have enabled the CORS for third party domain. Your help could be appreciated. Re: Accessing the endpoint using http.client not working for hidden category Thank you all for help. Actually its issue with the post of hidden category. we are accessing the custom end point which is created by me. We are calling the endpoint name "test-message" from the endpoint "test-post". For hidden category when we call the api "test-message" using (http.client) then code inside this api not executed. Both the endpoints are custom and which is created by me. Its working fine for other category which are not hidden. Re: Accessing the endpoint using http.client not working for hidden category The both endpoints are customize. Below endpoint(name:test-message) which is calling from other endpoint and this endpoint return json response. <#assign Resp= http.client.request( liurl+"/test-message?postId=${pid}").get()/>. we are getting the response below response for hidden category. lithium.coreapi.webui.template.models.HttpClientResponseTemplateModel@300501ea Accessing the endpoint using http.client not working for hidden category Hi, There are two endpoint.We are accessing a endpoint to other endpoint using "http.client". We are not getting proper response for hidden category. It's working fine for other category. Your help could be appreciated. Thanks Solved