Skip to main content
Select Actions to adjust the guide
Some actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.
Action
Scope(s)
Loading actions…
Dynamic Guide URL
Scopes Selected
Separator
You must have administrator access to your Liferay instance to register OAuth2 applications in the OAuth2 Administration panel.

Create an OAuth2 application in Liferay

Register an OAuth2 application in Liferay to obtain the Client ID and Client Secret needed for the connection.

1

Sign in to Liferay

Sign in to your Liferay instance as an administrator.

  • Open the Applications Menu from the top navigation bar.
  • Navigate to Control Panel > Security > OAuth2 Administration.
  • Click the New button in the top-right corner to add a new application.
2

Fill in application details

Complete the application form.

  • Application Name: StackOne
  • Callback URI: https://api.stackone.com/connect/oauth2/liferay/callback
  • Select Client Secret Basic or Post as the Client Authentication Method.
  • Select Web Application as the Client Profile.
  • Under Allowed Authorization Types, enable Authorization Code and Refresh Token.
3

Save and copy the client credentials

Save the application and copy the generated credentials.

  • The Client ID is shown on the application overview page.
  • The Client Secret is displayed only once after the application is saved — copy it immediately and store securely for use later.
4

Configure scopes

Enables actions: Add Users To User Group, Assign Account Role To User, Assign Role To User, Assign User To Account, Create Account, Create Blog Posting, Create Blog Posting Comment, Create Comment Reply, Create Document, Create Document Comment, Create Document Folder, Create Document In Folder, Create Organization, Create Role, Create Structured Content, Create Structured Content Comment, Create Structured Content Folder, Create User Account, Create User Group, Delete Account, Delete Blog Posting, Delete Comment, Delete Document, Delete Document Folder, Delete Organization, Delete Role, Delete Structured Content, Delete Structured Content Folder, Delete User Account, Delete User Group, Get Account, Get Account By External Reference Code, Get Blog Posting, Get Comment, Get Content Structure, Get Document, Get Document Folder, Get My User Account, Get Organization, Get Role, Get Role By External Reference Code, Get Site, Get Site By Friendly URL Path, Get Structured Content, Get Structured Content Folder, Get User Account, Get User Account By Email Address, Get User Group, List Account Roles, List Account User Accounts, List Accounts, List Blog Posting Comments, List Blog Postings, List Child Organizations, List Comment Replies, List Content Structures, List Document Comments, List Document Folder Documents, List Document Folder Subfolders, List Document Folders, List Documents, List My Sites, List Organization User Accounts, List Organizations, List Roles, List Site Taxonomy Vocabularies, List Site User Accounts, List Structured Content Comments, List Structured Content Folder Contents, List Structured Content Folder Subfolders, List Structured Content Folders, List Structured Contents, List Taxonomy Categories, List User Accounts, List User Accounts By Status, List User Group Members, List User Groups, List User Groups For User, Remove User From Account, Remove Users From User Group, Replace Comment, Unassign Role From User, Update Account, Update Blog Posting, Update Document, Update Document Folder, Update Organization, Update Role, Update Structured Content, Update Structured Content Folder, Update User Account, Update User Group

After saving the application, open the Scopes tab and enable the scopes your integration needs access to.

Liferay.Headless.Admin.User.everything is required for the connection test to succeed and must be enabled in addition to any other scopes your integration uses.

Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for Liferay:
1

Navigate to Connector Profiles

Login to StackOne and navigate to Connector Profiles
2

Create New Connector Profile

  • Click + Connector Profile
  • Search for and select Liferay
  • Select Type as OAuth 2.0
  • Fill out the fields using details retrieved from your provider:
    • Client ID
    • Client Secret
    • Scopes (Optional)
  • (Optional) Select Actions to be enabled for this Connector Profile
  • Click Create profile
Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to Link Accounts for Liferay.