I had to extend the scope of the token request to Microsoft Entra in order to receive the claims that I needed.
For that, setting the scope parameter in the passportAuthenticateMiddlewareOptions was not enough, since passport (at least for version 0.6.0) determines the scope from the argument "options" passed to the constructor of the strategy.
I hope you are fine with me bumping the version and writing to the changelog. I'm sorry if you're not. It's my first pull request.
I had to extend the scope of the token request to Microsoft Entra in order to receive the claims that I needed.
For that, setting the scope parameter in the passportAuthenticateMiddlewareOptions was not enough, since passport (at least for version 0.6.0) determines the scope from the argument "options" passed to the constructor of the strategy.
I hope you are fine with me bumping the version and writing to the changelog. I'm sorry if you're not. It's my first pull request.