K2 blackpearl Product Documentation: Installation and Configuration Guide
Claims and OAuth Configuration

Configuration

Configuring OAuth and claims should be handled for you by the installation and configuration of K2 blackpearl. If you are integrating with SharePoint 2013, the K2 for SharePoint App should be used to configure your environment. Manual configuration is possible but not recommended. 

If you have SmartForms installed you can get to the following forms for managing OAuth and Claims settings:

You can also browse to these forms by going to the K2 Designer and clicking All Items > System > Management > Security > Forms. 

For more information about Site Realms see Introduction to Multi-Auth in the SmartForms User Guide.

For specific information on how to configure K2 blackpearl and K2 smartforms for specific systems, see the following topics in the SmartForms User Guide:

If you do not have SmartForms installed and you need to manually modify OAuth and Claims settings, you can use the SQL script examples below. Note that these contain values from a fictitious company called Denallix. You will have to replace these values with actual values from your environment. The values that must be replaced include:

Claims Configuration

You need the following values for configuring claims:

USE[K2]

GO

DECLARE@IssId INT

EXEC@IssId =[Identity].[AddIssuer] @Name="Your STS",

@Issuer=YourSTS,@Thumbprint="THUMBPRINT",

@Description=NULL,@Uri="http://yourURI.com/something",

@UseForLogin=1

EXEC[Identity].[AddClaimTypeMapping]@IssuerId=@IssId,

@SecurityLabel=K2,@ClaimTypeInfo=True,

@Nii="urn:office.idp.activedirectory",

@GroupSPSTSRSTR="c:0+.w",@UserSPSTSRSTR="i:o#.w"

EXEC[Identity].[AddRealm] @IssuerId=@IssId,

@RealmUri="https://k2.denallix.com/ViewFlow/",@HomeRealm=NULL,

@Freshness=0,@SignOutReplyUri=NULL,

@PersistentCookiesOnPassiveRedirects=1,@ReplyUri="/ViewFlow/"

EXEC[Identity].[AddRealm] @IssuerId=@IssId,

@RealmUri="https://k2.denallix.com/Designer/",@HomeRealm=NULL,

@Freshness=0,@SignOutReplyUri=NULL,

@PersistentCookiesOnPassiveRedirects=1,@ReplyUri="/Designer/"

EXEC[Identity].[AddRealm] @IssuerId=@IssId,

@RealmUri="https://k2.denallix.com/Runtime/",@HomeRealm=NULL,

@Freshness=0,@SignOutReplyUri=NULL,

@PersistentCookiesOnPassiveRedirects=1,@ReplyUri="/Runtime/"

Do not manually update the K2 database tables unless instructed to do so by K2 Support.

Download the PowerShell script that returns the current claims configuration GetClaimsConfig.zip (or manually download it from http://help.k2.com/helppages/K2blackpearIICG4.6.8/GetClaimsConfig.zip)

Configuring OAuth

To configure OAuth you must add the following items:

 

 


K2 blackpearl Product Documentation: Installation and Configuration Guide 4.6.11