File tree 1 file changed +2
-2
lines changed
docs/cookbook/authentication
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ In `src/authentication.ts` like this:
40
40
import { ServiceAddons , Params } from ' @feathersjs/feathers' ;
41
41
import { AuthenticationService , JWTStrategy } from ' @feathersjs/authentication' ;
42
42
import { LocalStrategy } from ' @feathersjs/authentication-local' ;
43
- import { expressOauth , OAuthStrategy , OAuthProfile } from ' @feathersjs/authentication-oauth' ;
43
+ import { oauth , OAuthStrategy , OAuthProfile } from ' @feathersjs/authentication-oauth' ;
44
44
45
45
import { Application } from ' ./declarations' ;
46
46
@@ -69,7 +69,7 @@ export default function(app: Application) {
69
69
authentication .register (' auth0' , new Auth0Strategy ());
70
70
71
71
app .use (' /authentication' , authentication );
72
- app .configure (expressOauth ());
72
+ app .configure (oauth ());
73
73
}
74
74
```
75
75
You can’t perform that action at this time.
0 commit comments