Skip to content

getcloudcherry/cloudcherry-sso-active-directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudCherry SSO through Active Directory

Large businesses can enable Role based SSO(Single Sign On) for their users who are already authenticated by their intranet/website or email system or software such as CMS/ERP/CRM/PoS; SSO prevents duplication of effort to create and maintain open hundreds of username/password profiles for large businesses with many employees.

SSO works by building a information packet(JSON) with the authenticated user’s information and then encrypting the packet to obtain a SSO token that can be passed on to CloudCherry API for automatic login.

Getting Started

  • Install Visual Studio.
  • Clone this repo.
  • Open the project in Visual Studio.
  • Create a Active Directory application.
  • Open Web.Config and replace the below values.
    • ida:ClientId - Get Application id
    • ida:TenantId - Get tenant id
    • ida:Domain - Your Domain for Active Directory
    • ssokey - SSO Key is configured in CloudCherry Insight Centre.
    • ccaccount - You CloudCherry Account Name.
  • Run the project.

What is happening when you run the MVC App?

API Tech whitepaper - Page 29 and Sample code is here.

On Successful Authentication from your AD, you will be presented with a Web Page. By clicking on Login to CloudCherry SSOToken will be created and you would be redirected to CloudCherry Insight Centre along with SSOToken and account name ("https://cx.getcloudcherry.com/#/login?sso=&ssotoken=").

More info here

Where is the code for SSOToken Generation?

You can find it here.

How to use an On-Premise Identity Server and Connect to CloudCherry?

It's almost as similar as previous steps, this blog explains it much better.

About

CloudCherry SSO through Active Directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published