@JesseRWeigel I am super excited to show you that I have found and implemented a way to solve our authentication problems. I have found a way to route remote graphql api through our server. We are utilising the remote endpoint apollo server strategy which basically provided schema from a remote gql server.
ROUTES
GraphQL API
/graphql
GraphIql GUI
/graphiql
I recommend you to use GraphiQL from the server now instead of chrome extension
The server runs on PORT 8080 by default. MAKE SURE TO RUN YARN. ITS MANDATORY.
I have implemented concurrently package that starts our server and front end development server by using only one command yarn start. Sever is also hot reloading as I used nodemon. Now its your time to implement SSO authentication to this server
THIS SERVER ALSO DONT THROW 403 even without wp authentication
PULL REQUEST MERGE ORDER
As I made 3 PRs this weekend. You should merge #11 first then #12 then this. I have made three so that I may not break stuff and developed separate feature on separate branch which is the standard. Merging in this order will give you better commit history.
@JesseRWeigel I am super excited to show you that I have found and implemented a way to solve our authentication problems. I have found a way to route remote graphql api through our server. We are utilising the remote endpoint apollo server strategy which basically provided schema from a remote gql server.
ROUTES
I recommend you to use GraphiQL from the server now instead of chrome extension
The server runs on PORT 8080 by default. MAKE SURE TO RUN YARN. ITS MANDATORY.
I have implemented concurrently package that starts our server and front end development server by using only one command
yarn start
. Sever is also hot reloading as I used nodemon. Now its your time to implement SSO authentication to this serverTHIS SERVER ALSO DONT THROW 403 even without wp authentication
PULL REQUEST MERGE ORDER
As I made 3 PRs this weekend. You should merge #11 first then #12 then this. I have made three so that I may not break stuff and developed separate feature on separate branch which is the standard. Merging in this order will give you better commit history.
HOPE THIS HELPS YOU