ServiceStack IAuthSession empty after authentication with FacebookAuthProvider

前端 未结 1 1955
挽巷
挽巷 2021-01-25 17:52

I\'m trying to get the user data through IAuthSession after a doing an authentication with facebook, when I try get the user with Request.GetSession(true) which

相关标签:
1条回答
  • 2021-01-25 18:33

    I was in a similar situation like this issue based the answer I decided to try that out, and It worked.

    the only difference is that I'm using simple injector and you have to consider to register that dependency as Singleton the easier way for me to register it was this:

    simpleInjectorContainer.RegisterSingle<ICacheClient>(()=>new MemoryCacheClient());
    
    0 讨论(0)
提交回复
热议问题