This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // CLIENT | |
| // src/App.js | |
| // other imports | |
| import VerifySocialPage from './pages/VerifySocialPage' | |
| function App () { | |
| return ( | |
| <Switch> | |
| // .... other routes | |
| <Route path="/verify-social" exact component={VerifySocialPage} /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React,{Component} from 'react' | |
| import PropTypes from 'prop-types' | |
| import { compose } from 'recompose' | |
| import {connect} from 'react-redux' | |
| import { | |
| withRouter, | |
| } from 'react-router-dom'; | |
| import { | |
| Divider, Message,Container |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const authentication = require('@feathersjs/authentication'); | |
| const jwt = require('@feathersjs/authentication-jwt'); | |
| const local = require('@feathersjs/authentication-local'); | |
| const oauth2 = require('@feathersjs/authentication-oauth2'); | |
| const GithubStrategy = require('passport-github'); | |
| module.exports = function (app) { | |
| const config = app.get('authentication'); | |
| // Set up authentication with the secret |
NewerOlder