Base solution for your next web application
Open Closed

Get Tenant Properties #3572


User avatar
0
bbakermmc created

I extended the Tenant entity and deployed the change to my DB/updated the created/edit forms.

How do I pull this extra info I need into my controller/Extend the ABPSession to put it there. The field is an API key that we need to use all the time for each client to hit our internal APIs.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can check this gist <a class="postlink" href="https://gist.github.com/hikalkan/67469e05475c2d18cb88">https://gist.github.com/hikalkan/67469e05475c2d18cb88</a>. It is a bit old but if you read main example and this comment <a class="postlink" href="https://gist.github.com/hikalkan/67469e05475c2d18cb88#gistcomment-2029767">https://gist.github.com/hikalkan/67469e ... nt-2029767</a> you can create your own session and add this custom field to it.

    Thanks.

  • User Avatar
    0
    bbakermmc created

    Can you please provide updated documentation. The referenced method in the "User Manager" doesn't exist in the Core 4.1.4 solution.

    It looks like in signinmager StoreToFactorInfo creates some claims but I'm not sure if that's called by a non two auth sign in?