Configuring the asKeys.xml file


Each Resource Server will have a shared secret or key that will be used to encrypt the token and reinforce the security of the resource servers. These keys will be registered in the asKeys.xml file. The format of this archive will be:

<AuthServers>
 <AuthServer id="authServerID" url="authServerURL">
 	 <Key>example_key</Key>
  </AuthServer>
  <AuthServer id="authServerID2" url="authServerURL2">
 	 <Key>example_key2</Key>
  </AuthServer>
</AuthServers>

            
 

Where AuthServers contains a set of authorization servers. Each of one will have a Key that will be the shared secret.

This shared secret has to be the same in the authServers.xml file of the Resource Server.