I have a usecase to integrate “ADB2C” with a “Java application” for a user authentication, and we are using a Microsoft MSAL libraries in the integration . And here is a scenario that I’m facing currently, once a user navigates to the java web application and hit “Login” button then user redirect to the B2C SignIn page and user is getting authenticated successfully and we are receiving an access token successfully.
But, after user loggedIn and try accessing an authenticated apps on the website, then it’s asking the user to login again which is unexpected. Please suggest me on this scenario, whether the changes have to make in the code or B2C custom policy side to overcome this issue. I really appreciate your time in considering this.