Base solution for your next web application
Open Closed

JWT Token Tenant or etc. knowledge in Api #4807


User avatar
0
ulaskurt created

I put the user login information to tenants token generating tokens inside. Most likely ABP is doing it myself, but I do not understand how to use it. We can read the token and access the tenant information in requests coming from the API. :| I would be glad if you could help.


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi,

    If you want to add a new property to the session you can use claims. here's a sample gist <a class="postlink" href="https://gist.github.com/hikalkan/67469e05475c2d18cb88">https://gist.github.com/hikalkan/67469e05475c2d18cb88</a>