Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Version 3.0.1

Choose a tag to compare

@lovemaths lovemaths released this 04 Nov 20:49
· 141 commits to master since this release

OIDCStrategy

New features

  • specify tenant per request

    Now you can specify the tenant per request, using the tenantIdOrName option in passport.authenticate. More details on the usage can be found in README.md. tenantIdOrName enables two features:

    • B2C common endpoint support

      Now you can use the B2C common endpoint by specifying the tenant for each login request using the tenantIdOrName option. A login request is any request that doesn't contain code or id_token.

    • extensive issuer validation on common endpoint

      Previously, you had to provide an issuer value in configuration to validat the issuer on the common endpoint. Alternatively, you can now specify the tenant for each login request.

Bug fixes

  • #239 Problems with signin in the updated sample
  • #233 Provide documentation with more details
  • #229 use tenant id dynamically for each request
  • #123 Question: what is the difference between OIDCStrategy and BearerStrategy. Which one should I use?