import React from 'react' 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(

Unable to sign in

An account associated with your email address already exists.

Sign in with email or another service

Why am I seeing this?

It looks like you might have already signed up using another service to sign in.

If you have previously signed up using another service you must link accounts before you can use a different service to sign in.

This is to prevent people from signing up to another service using your email address to try and access your account.

How do I fix this?

First sign in using your email address then link your account to the service you want to use to sign in with in future. You only need to do this once.

) } else if (this.props.action == 'signin' && this.props.type == 'token-invalid') { return(

Link not valid

This sign in link is no longer valid.

Get a new sign in link

) } else { return(

Error signing in

An error occured while trying to sign in.

Sign in with email or another service

) } } }