AzureAD / passport-azure-ad

The code for Passport Azure AD has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/passport-azure-ad
Other
420 stars 177 forks source link

Serverless usage #532

Closed sandanarajeev closed 3 years ago

sandanarajeev commented 3 years ago

I'm using Azure Functions(Server-less Arch). Is it possible to use passport aad with server-less Arch ? I know its possible to run an express server in a function and use passport over there, but it contradicts the server-less architecture. Any other solutions ?

@xerners

derisen commented 3 years ago

@sandanarajeev there's a 3rd party library, azure-function-express that converts your express code. You can see how its used in this sample. Bear in mind this is more of a hack and doesn't support v3 functions.

derisen commented 3 years ago

Closing.