Permalink
Browse files

Updated samples to remove entityID from audience URI

  • Loading branch information...
1 parent 064b1ab commit daabc98d9e3eb69419d13c76aa7553860ce31ac7 Brandon Werner committed Oct 22, 2012
@@ -54,7 +54,7 @@ private GetOrgIdSpnResult GetSpn()
idpIdentifier = new Guid(entityDescriptor.Split('@')[1]);
}
- return new GetOrgIdSpnResult(new Guid(this.AppPrincipalId), this.ApplicationDomain, idpIdentifier, entityDescriptor);
+ return new GetOrgIdSpnResult(new Guid(this.AppPrincipalId), this.ApplicationDomain, idpIdentifier);
}
}
}
@@ -7,11 +7,11 @@ public class GetOrgIdSpnResult
{
private const string Display = "<issuer name=\"{0}\" displayName=\"{0}\" realm=\"{1}\" />";
- public GetOrgIdSpnResult(Guid appId, string appDomain, Guid idpId, string entityId)
+ public GetOrgIdSpnResult(Guid appId, string appDomain, Guid idpId)
{
this.ApplicationId = appId;
this.ApplicationDomain = appDomain;
- this.Spn = string.Format("spn:{0}@{1}", appId, idpId);
+ this.Spn = string.Format("spn:{0}", appId);
}
public Guid ApplicationId { get; internal set; }
@@ -1,6 +1,6 @@
federation.trustedissuers.issuer=https://accounts.accesscontrol.windows.net/v2/wsfederation
federation.trustedissuers.thumbprint=3f5dfcdf4b3d0eab9ba49befb3cfd760da9cccf1
federation.trustedissuers.friendlyname=Awesome Computers
-federation.audienceuris=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392@495c4a5e-38b7-49b9-a90f-4c0050b2d7f7
+federation.audienceuris=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392
federation.realm=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392@495c4a5e-38b7-49b9-a90f-4c0050b2d7f7
federation.reply=https://localhost/phpSample/index.php

0 comments on commit daabc98

Please sign in to comment.