SAML Integration with HUE-4.5.0


I am trying to integrate Hue with Okta as a LDP.
After I login I am receiving the following error.

**Bad status for request TOpenSessionReq(username='hue', password=None, client_protocol=6, configuration={'hive.server2.proxy.user': u''}): TOpenSessionResp(status=TStatus(errorCode=None, errorMessage='Illegal principal name$NoMatchingRule: No rules applied to', sqlState=None, infoMessages=['*java.lang.IllegalArgumentException:Illegal principal name$NoMatchingRule: No rules applied to', '', '', '', '', '', '', '', '', '', 'org.apache.hive.service.rpc.thrift.TCLIService$Processor$', 'org.apache.hive.service.rpc.thrift.TCLIService$Processor$', '', '', '', 'org.apache.thrift.server.TThreadPoolServer$', '', 'java.util.concurrent.ThreadPoolExecutor$', '', '*$NoMatchingRule:No rules applied to', '', ''], statusCode=3), sessionHandle=None, configuration=None, serverProtocolVersion=9)**

I have not enabled kerberos in my cluster.
I am using Hue-4.5.

Following are my configuration to for SAML integration:

required_attributes= samaccount
metadata_file= /etc/hue/conf/metadata.xml
key_file= /etc/hue/conf/private.pem
username_source= nameid

Can somebody help here?

Thanks in Advance

Make sure you add Mapper for attribute “samaccount” in saml client IDP. you can use by default attribute for testing purpose i.e username , email