A BE implementation for allowing users to signup with social providers using passport.js.
It can potentially be replaced with Auth0.
The BE will need to be hosted as https://api.codingcoach.io and the FE will need the Public client IDs from the Social Providers, and exchange the one-time use code with the BE via AJAX. (Could not yet implement it with GraphQL.)
The Client Secrets will be privy to the BE alone to dissuade misuse of tokens. The Travis CI will inject the client secrets using encrypted values to the environment.
More details documented.
A BE implementation for allowing users to signup with social providers using passport.js.
It can potentially be replaced with Auth0. The BE will need to be hosted as
https://api.codingcoach.io
and the FE will need the Public client IDs from the Social Providers, and exchange the one-time use code with the BE via AJAX. (Could not yet implement it with GraphQL.) The Client Secrets will be privy to the BE alone to dissuade misuse of tokens. The Travis CI will inject the client secrets using encrypted values to the environment. More details documented.