auth0 / passport-linkedin-oauth2

Passport Strategy for LinkedIn OAuth 2.0
MIT License
119 stars 107 forks source link

Create example without sessions or state #88

Closed richardcarrigan closed 1 year ago

richardcarrigan commented 3 years ago

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Adding server example that doesn't require sessions or state. This addresses use cases in which multiple API instances are being load-balanced but not using ARR affinity and therefore would not be aware of other instances' state or current sessions.

Testing

As this alternate example is only a subset of the full example, all existing testing should function the same as before, aside from any tests specifically related to sessions or state.

This PR was developed in JavaScript on Node.js v14.15.0 using VS Code

Checklist