StrategyAdapter is not defined #8485
Answered
by
achrinza
willpakpoy
asked this question in
Q&A
-
I'm trying to work through this article, but I can't work out where StrategyAdapter in Step 3 comes from. Am I missing something? |
Beta Was this translation helpful? Give feedback.
Answered by
achrinza
Apr 21, 2022
Replies: 1 comment
-
Hi @willpakpoy, import {StrategyAdapter} from '@loopback/authentication-passport` More information can be found in the API docs: https://loopback.io/doc/en/lb4/apidocs.authentication-passport.strategyadapter.html I'll open a PR to fix that missing import in the docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
willpakpoy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @willpakpoy,
StrategyAdapter
can be imported from@loopback/authentication-passport
like so:More information can be found in the API docs: https://loopback.io/doc/en/lb4/apidocs.authentication-passport.strategyadapter.html
I'll open a PR to fix that missing import in the docs.