Mgmt Config sample for WLID / Facebook Connect sample
Now that we have a mgmt tool, I can provide you with a template so you can setup the ACS part of the WLID / Facebook Connect sample with less effort. Here’s the XML configuration:
<ServiceNamespace xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<Issuers>
<Issuer handle="acswebauth">
<IssuerName>acswebauth</IssuerName>
<Algorithm>Symmetric256BitKey</Algorithm>
<CurrentKey>gyiepxNtc7RkCZuvV6FyEPWOp788uc1T0DMSZ9c/5QA=</CurrentKey>
<PreviousKey>bAO0llCgF5C00GW/h7Zp0lt2WAe3WRrdIj42UMbds+A=</PreviousKey>
</Issuer>
</Issuers>
<Scopes>
<Scope handle="root">
<AppliesTo>https://acswebauth.com</AppliesTo>
<TokenPolicyHandle>root</TokenPolicyHandle>
<Rules>
<Rule handle="wlidpassthrough">
<Type>PassThrough</Type>
<InputClaimIssuerHandle>acswebauth</InputClaimIssuerHandle>
<InputClaimType>uuid</InputClaimType>
<InputClaimValue xsi:nil="true" />
<OutputClaimType>userid</OutputClaimType>
<OutputClaimValue xsi:nil="true" />
</Rule>
<Rule handle="idppassthrough">
<Type>PassThrough</Type>
<InputClaimIssuerHandle>acswebauth</InputClaimIssuerHandle>
<InputClaimType>idp</InputClaimType>
<InputClaimValue xsi:nil="true" />
<OutputClaimType>idp</OutputClaimType>
<OutputClaimValue xsi:nil="true" />
</Rule>
<Rule handle="fbsession">
<Type>PassThrough</Type>
<InputClaimIssuerHandle>acswebauth</InputClaimIssuerHandle>
<InputClaimType>fbsession</InputClaimType>
<InputClaimValue xsi:nil="true" />
<OutputClaimType>fbsession</OutputClaimType>
<OutputClaimValue xsi:nil="true" />
</Rule>
</Rules>
</Scope>
</Scopes>
<TokenPolicies>
<TokenPolicy handle="root">
<TokenLifetime>1200</TokenLifetime>
<SigningKey>AZYQZFGR1epDZV3NC+sBEgOXVY4vIWTPZnEg28mDXy8=</SigningKey>
</TokenPolicy>
</TokenPolicies>
</ServiceNamespace>
Copy this to your clipboard, save locally, then click the load button
Browse to the file on your local machine, then click the Save to Cloud button. BE CAREFUL: clicking that button will erase the config in your ACS service namespace. We’ll get the merge written soon :)