locked
asp.net core with azure b2c RRS feed

  • Question

  • User1997618745 posted

    Dear Team, 

    We are using asp.net core with Azure b2c using openid class. Authentication functionality is working as expected. Even, the application is getting the Id_token and access_token also before it expire if the user is continuously active as long as the token's expire time is reached.  

    The problem is when the Id-token & access_token is expired due to user kept the application idle for more than 60 minutes (i.e token life time set in the azure portal) then the asp.net core application is not able to get the new authentication code and work continuously. 

    can anyone help in this scenario would be a great help. 

    Thanks,

    Selva

    Wednesday, August 28, 2019 2:49 PM

Answers

  • User711641945 posted

    Hi Selvakumar,

    The problem is when the Id-token & access_token is expired due to user kept the application idle for more than 60 minutes (i.e token life time set in the azure portal) then the asp.net core application is not able to get the new authentication code and work continuously.

    Have you tried to increase the token file time in the azure portal?

    Best Regards,

    Rena

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 29, 2019 6:44 AM

All replies

  • Wednesday, August 28, 2019 5:36 PM
  • User711641945 posted

    Hi Selvakumar,

    The problem is when the Id-token & access_token is expired due to user kept the application idle for more than 60 minutes (i.e token life time set in the azure portal) then the asp.net core application is not able to get the new authentication code and work continuously.

    Have you tried to increase the token file time in the azure portal?

    Best Regards,

    Rena

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 29, 2019 6:44 AM