def fetch_token(self, code, state):
        if self.state != state:
            raise MismatchingStateError()
        self.token = self.oauth.fetch_token(
            '%sauth/tokens/exchange/' % API_URL, code=code,
            client_secret=self.client_secret)
        return self.token['access_token']
Fetch the token, using the verification code. Also, make sure the state
dataset/ETHPy150Open orcasgit/python-misfit/misfit/auth.py/MisfitAuth.fetch_token