passport / discuss

A forum for discussing topics related to the usage of Passport.js.
1 stars 0 forks source link

how to use this graphql-passport in Apollo Server not in Apollo server express? #67

Open Jamal8548 opened 2 years ago

Jamal8548 commented 2 years ago

I just wanted to ask you that there is an example in Microsoft documentation on how to apply B2C authentication of REACT - NODEJS(expressJS- REST Api). here is the link https://docs.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-react-spa-app and they are using passport library for express but there is nothing on NODEJS(GRAPHQL) Would you please suggest to me how to use that passport library in REACT-NODE JS(GRAPHQL- Apollo Server)? I am a student. Please help me. I want to apply authentication into a project but we are not using the REST API. I am looking forward to hearing from you soon.