Question:In my nestjs project, I am trying to use multiple jwt strategies. Here is the jwt-auth.guard.ts:
sec.strategy.tsyou need to give the strategy a custom name like so:
'jwt'name. With the above, it’ll now have the name
'sec'and be properly registered with passport
If you have better answer, please add a comment about this, thank you!