def METHOD_NAME(self):
    self.prepare_data()
    rv = self.client.post('/oauth/authorize', data={
        'response_type': 'id_token',
        'client_id': 'implicit-client',
        'scope': 'openid profile',
        'state': 'bar',
        'nonce': 'abc',
        'redirect_uri': 'https://a.b/c',
        'user_id': '1'
    })
    self.assertIn('id_token=', rv.location)
    self.assertIn('state=bar', rv.location)
    params = dict(url_decode(urlparse.urlparse(rv.location).fragment))
    self.validate_claims(params['id_token'], params)