Skip to content

Commit 53de111

Browse files
authored
docs: Update auth0.md (#3566)
1 parent a630484 commit 53de111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cookbook/authentication/auth0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ In `src/authentication.ts` like this:
4040
import { ServiceAddons, Params } from '@feathersjs/feathers';
4141
import { AuthenticationService, JWTStrategy } from '@feathersjs/authentication';
4242
import { LocalStrategy } from '@feathersjs/authentication-local';
43-
import { expressOauth, OAuthStrategy, OAuthProfile } from '@feathersjs/authentication-oauth';
43+
import { oauth, OAuthStrategy, OAuthProfile } from '@feathersjs/authentication-oauth';
4444

4545
import { Application } from './declarations';
4646

@@ -69,7 +69,7 @@ export default function(app: Application) {
6969
authentication.register('auth0', new Auth0Strategy());
7070

7171
app.use('/authentication', authentication);
72-
app.configure(expressOauth());
72+
app.configure(oauth());
7373
}
7474
```
7575

0 commit comments

Comments
 (0)