User failed to login into Director with Error - Failed to extract Claims Identity from a given token


Product

  
 Applies To 
  
 Product(s):Assetwise ALIM
 Version(s):01.00.40.xx
 Environment: N/A
 Area: Login - IMS users only
 Subarea: 
 Original Author:Priyanka Kale, Bentley Product Advantage Team

Problem Description :

User getting below error while login into Director. Below is error message

Error : Failed to extract Claims Identity from a given token.

ID4175 : The issuer of the security token was not recognized by the IssuerNameRegistery. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer.

Solution :

1) Close the client application

2)  Edit the applications config file (for example Director’s config file is located in C:\Program Files (x86)\Bentley\eB\Directorand called eB.Application.Director.exe.config

3)  Delete the entry: <add key="Bentley.eB.StsIssuerCertificate" value="A5A2F1CB135FAB96D43B7DEA28E3AAC7F60CF814" />

4)  Also look inC:\Users\<username>\AppData\Roaming\Bentley\eB. If the ims.bentley.com.FederationMetadata.xml file exist please delete it.

Hope this helps