You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-12
Original file line number
Diff line number
Diff line change
@@ -151,21 +151,14 @@ Finally, the URL query parameters will be checked for a field matching either
151
151
`options.tokenQueryParameterName` or `auth_token` if the option was not
152
152
specified.
153
153
154
-
## Migrating from 2.x.x to 3.x.x
154
+
## Supported By
155
155
156
-
Version 3.0.0 removes the `ExtractJwt.fromAuthHeader()` extractor function that would extract
157
-
JWT's from `Authorization` headers with the auth scheme 'jwt'. The default authorization scheme
158
-
of 'jwt' as the was not RFC 6750 compliant. The extractor was replaced with
159
-
`ExtractJwt.fromAuthHeaderAsBearerToken()`. The removal of `ExtractJwt.fromAuthHeader()` was done
160
-
to clearly change the API so any code relying on the old API would clearly break, hopefully saving
161
-
people some debugging time.
156
+
If you want to quickly add secure token-based authentication to Node.js apps, feel free to check out Auth0's Node.js SDK and free plan at [auth0.com/overview](https://auth0.com/overview?utm_source=GHsponsor&utm_medium=GHsponsor&utm_campaign=passport-jwt&utm_content=auth) <imgalt='Auth0 Logo'src='https://s3.amazonaws.com/passport-jwt-img/Auth0+logo.svg'/>
162
157
163
-
If you want to maintain the behavior of `ExtractJwt.fromAuthHeader()` when switching to v3.3.0, simply
164
-
replace it with `ExtractJwt.fromAuthHeaderWithScheme('jwt')` in your implementation.
158
+
## Migrating
165
159
166
-
## Migrating from version 1.x.x to 2.x.x
167
-
168
-
See [the guide for migrating from v1 to v2](docs/migrating_v1_to_v2.md) for explanation of the major changes.
160
+
The the [Migration Guide](docs/migrating.md) for help upgrading to the latest
0 commit comments