def check_correct_audience(self, audience):
        "Assert that Dataporten sends back our own client id as audience"
        client_id, _ = self.get_key_and_secret()
        if audience != client_id:
            raise AuthException('Wrong audience')