Skip to content

Instantly share code, notes, and snippets.

@woloski
Last active December 15, 2015 03:19
Show Gist options
  • Save woloski/5193322 to your computer and use it in GitHub Desktop.
Save woloski/5193322 to your computer and use it in GitHub Desktop.
Auth0 SharePoint Succesful Installation
PS C:\> Enable-Auth0 -auth0Domain:"foo.auth0.com" -clientId:"Jr22cCJ3C....b6AXQKws" -webAppUrl:"http://sp2010app:8002" -identifierClaimType:"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" -claims:@("Email|http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress") -Verbose
VERBOSE: Adding Microsoft.Sharepoint.Powershell Snapin
VERBOSE: Leaving BeginProcessing Method of Get-SPShellAdmin.
VERBOSE: Leaving ProcessRecord Method of Get-SPShellAdmin.
VERBOSE: Leaving EndProcessing Method of Get-SPShellAdmin.
VERBOSE: Downloading federation metadata from
http://foo.woloski.auth0.com/wsfed/Jr22cCJ3C....b6AXQKws/FederationMetadata/2007-06/FederationMetadata.xml
VERBOSE: Check App exists
VERBOSE: Leaving BeginProcessing Method of Get-SPWebApplication.
VERBOSE: Leaving ProcessRecord Method of Get-SPWebApplication.
VERBOSE: Leaving EndProcessing Method of Get-SPWebApplication.
VERBOSE: App exists
VERBOSE: certs: [Subject]
CN=foo.auth0.com
[Issuer]
CN=foo.auth0.com
[Serial Number]
00EF46BDCA7BCAF6E1
[Not Before]
3/18/2013 2:43:16 PM
[Not After]
11/25/2026 1:43:16 PM
[Thumbprint]
C1C7FB23B883AABEC04F0FCC07BE37E3134F7050
VERBOSE: Claim: Email | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
VERBOSE: Leaving BeginProcessing Method of New-SPClaimTypeMapping.
VERBOSE: Leaving ProcessRecord Method of New-SPClaimTypeMapping.
VERBOSE: Leaving EndProcessing Method of New-SPClaimTypeMapping.
VERBOSE: Leaving BeginProcessing Method of Get-SPTrustedIdentityTokenIssuer.
VERBOSE: Leaving ProcessRecord Method of Get-SPTrustedIdentityTokenIssuer.
VERBOSE: Leaving EndProcessing Method of Get-SPTrustedIdentityTokenIssuer.
VERBOSE: SPTrustedIdentityTokenIssuer 'Auth0' already exists
VERBOSE: Leaving BeginProcessing Method of Get-SPTrustedIdentityTokenIssuer.
VERBOSE: Leaving ProcessRecord Method of Get-SPTrustedIdentityTokenIssuer.
VERBOSE: Leaving EndProcessing Method of Get-SPTrustedIdentityTokenIssuer.
VERBOSE: SPTrustedIdentityTokenIssuer ClaimTypeInformation: DisplayName:'Email'
ClaimType:'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
VERBOSE: Leaving BeginProcessing Method of Get-SPAuthenticationProvider.
VERBOSE: Leaving ProcessRecord Method of Get-SPAuthenticationProvider.
VERBOSE: Leaving EndProcessing Method of Get-SPAuthenticationProvider.
VERBOSE: Leaving BeginProcessing Method of Set-SPTrustedIdentityTokenIssuer.
VERBOSE: Leaving ProcessRecord Method of Set-SPTrustedIdentityTokenIssuer.
VERBOSE: Leaving EndProcessing Method of Set-SPTrustedIdentityTokenIssuer.
VERBOSE: Adding ProviderRealms 'urn:Jr22cCJ3C...b6AXQKws' to the webapp 'http://sp2010app:8002/'
True
VERBOSE: Checking that http://sp2010app:8002/ has claims-based authentication configured
VERBOSE: Leaving BeginProcessing Method of Get-SPWebApplication.
VERBOSE: Leaving ProcessRecord Method of Get-SPWebApplication.
VERBOSE: Leaving EndProcessing Method of Get-SPWebApplication.
VERBOSE: Adding Auth0 to http://sp2010app:8002/ existing auth provider. THIS CAN TAKE MINUTES. Please wait...
VERBOSE: Leaving BeginProcessing Method of Set-SPWebApplication.
VERBOSE: Leaving ProcessRecord Method of Set-SPWebApplication.
VERBOSE: Leaving EndProcessing Method of Set-SPWebApplication.
VERBOSE: Leaving BeginProcessing Method of Get-SPTrustedRootAuthority.
VERBOSE: Leaving ProcessRecord Method of Get-SPTrustedRootAuthority.
VERBOSE: Leaving EndProcessing Method of Get-SPTrustedRootAuthority.
VERBOSE: Checking if certificate foo.auth0.com exists in SP rusted root
VERBOSE: Certificate foo.auth0.com exists in SP rusted root
SharePoint Web Application 'http://sp2010app:8002/' configured successfully with Auth0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment