Base solution for your next web application

Activities of "kirkjones"

Hi Guys,

I'm evaluating the template and so far it has been awesome the amount of work put in by you guys.

I have one query and it resolves around Tokens. I was able to login and receive a token and I've also been able to successfully call some of my Get services without issue. I get the objects returned (though it seems to ignore the DTO i have defined and returns all the fields).

When I try to create a new object using the dynamic api however I run into an issue of getting the tenantID which is required for multi tenant apps. The call in my service uses AbpSession.GetTenantId() which seems to get this information from the cookie based system. The basic question is how would I go about getting the current tenant information when using the WebAPI and token based authorization so it can be passed into my service so the object can be saved.

I hope my question was clear. If you need any further clarification please let me know.

Kirk

Showing 1 to 1 of 1 entries