Skip to content

Commit

Permalink
Merge pull request #596 from louisnk/main
Browse files Browse the repository at this point in the history
Fixes Issue #595 - Add state prop to AuthenticateOptions interface
  • Loading branch information
airhorns authored Jun 28, 2022
2 parents d5eb988 + 7a3fc14 commit b5361f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ Options:
- `failureFlash` True to flash failure messages or a string to use as a flash
message for failures (overrides any from the strategy itself).
- `assignProperty` Assign the object provided by the verify callback to given property
- `state` Pass any provided state through to the strategy (e.g. for Google Oauth)

An optional `callback` can be supplied to allow the application to override the default manner in which authentication attempts are handled. The callback has the following signature:

Expand Down
1 change: 1 addition & 0 deletions src/AuthenticationRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface AuthenticateOptions {
successMessage?: boolean | string
assignProperty?: string
successReturnToOrRedirect?: string
state?: string
authInfo?: boolean
session?: boolean
pauseStream?: boolean
Expand Down

0 comments on commit b5361f2

Please sign in to comment.