finish rudimentary auth flow

This commit is contained in:
41666 2017-12-10 05:26:56 -06:00
parent 90f302c103
commit cfc623b228
10 changed files with 101 additions and 15 deletions

View file

@ -3,6 +3,7 @@ import { Route } from 'react-router-dom'
import Servers from '../components/servers'
import OauthCallback from '../components/oauth-callback'
import OauthFlow from '../components/oauth-flow'
const aaa = (props) => (<div>{ JSON.stringify(props) }</div>)
@ -13,6 +14,7 @@ export default class AppRouter extends Component {
<Route path='/s' component={Servers} />
<Route path='/root' component={aaa} />
<Route path='/oauth/callback' component={OauthCallback} />
<Route path='/oauth/flow' component={OauthFlow} />
</Fragment>
}
}