WIF Error: ID6013


ID6013: Signature verification failed.
-comes in the form of a popup error when you attempt to run the Federation Utility
and add an existing STS.

-Also happens spontaniously if something tries to modify the token en-transit.
see here

See this MSDN post if your trying to add claims and hook the enhansed
STS up to a service or site as Existing STS


Channel 9 comment:

The federation metadata document is a signed document and should not be edited or
reformatted by hand. Anyone who is interested in the details of the schema, can
find the specification at . http://docs.oasis-open.org/wsfed/federation/v1.2/ws-federation.pdf I


	public static class TokenVisualizerFactory
	{
		private static readonly ITokenVisualizerInternalFactory[] availableFactories =
			new ITokenVisualizerInternalFactory[] 
			{
				new SamlTokenVisualizerInternalFactory(),
				new Saml2TokenVisualizerInternalFactory(),
				new X509TokenVisualizerInternalFactory()
			};

		private interface ITokenVisualizerInternalFactory
		{
			Type SupportedToken { get; }

			ITokenVisualizer GetTokenVisualizer(SecurityToken token);
		}

		public static ITokenVisualizer GetTokenVisualizer(SecurityToken token)
		{
			foreach (var factory in availableFactories)
			{
				//null token here means you forgot to add bootstrapper to the config file
				if (factory.SupportedToken == token.GetType())
				{
					return factory.GetTokenVisualizer(token);
				}
			}
			return null;
		}
	}
Advertisements

About Larry Louisiana

I'm a Microsoft Partner Consultant.
This entry was posted in Programming and tagged , , . Bookmark the permalink.

One Response to WIF Error: ID6013

  1. Pingback: WIF Errors & Fixes Index | Ely Bob's space

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s