import React from 'react' import Head from 'next/head' import Link from 'next/link' export default class extends React.Component { static async getInitialProps({query}) { return { action: query.action || null, type: query.type || null, service: query.service || null } } render() { if (this.props.action == 'signin' && this.props.type == 'oauth') { return(