-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multiple docs issues: - Example code doesn't work, and it doesn't set the session in the callback, because when a custom callback is passed as the second argument to `passport.authenticate('apple', callback)`, the whole internal logic inside `passport` that calls `req.logIn` gets bypassed, see https://github.com/jaredhanson/passport/blob/217018dbc46dcd4118dd6f2c60c8d97010c587f8/lib/middleware/authenticate.js#L221 - The error handling in the callback did not work. - Document and work around problems with SameSite browser restrictions. - Remove broken demo link.
- Loading branch information
Showing
1 changed file
with
77 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters