I am affraid this question has already been post and i am sorry if it's the case.
I am currently implementing my custom sso into nodeBB which works. I only have one case where there is an issue. When i login with my custom sso, i check if the user has the permission to view the admin panel and i set "isAdmin" to true.
Everything work well but when i click on the admin button with my account logged in, i am redirected to the login page without my sso login. I don't really understand what is happening and i would like your help to understand what is happening
After 1st login:
After click on admin page: