79390512

Date: 2025-01-27 11:12:15
Score: 0.5
Natty:
Report link

I feel stupid... It was not related to the Azure configuration per say. It was an additional parameter i didn't see in the initialisation of the Authentication on the server.

I was using passeport-microsoft strategy and changing prompt: 'consent' solved the issue :

authenticate(req: any, options: any) {
    options = {
      ...options,
      accessType: 'offline',
      prompt: 'select_account',  // previsously was 'consent'
      loginHint: req.params.loginHint,
      state: JSON.stringify({
        transientToken: req.params.transientToken,
        redirectLocation: req.params.redirectLocation,
        calendarVisibility: req.params.calendarVisibility,
        messageVisibility: req.params.messageVisibility,
      }),
    };

    return super.authenticate(req, options);
  }

this thread helped me find out

Thanks for your help @Rukmini

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Rukmini
  • Self-answer (0.5):
Posted by: guillim