Atlassian Cloud OAuth Single Sign-On (SSO) Github


Jira OAuth Single-Sign On(SSO) for Atlassian Cloud allows you to securely login using Github credentials. Single Sign-on (SSO) into your Atlassian Access or Atlassian Jira Cloud Account with any of your existing OAuth Provider credentials for enhanced security using our module.

You can refer the steps to configure Multiple IDPs and Domain Mapping in Atlassian Access from the video or documentation given below



Pre-requisites

1. Atlassian Access Subscription

Atlassian Access is an additional subscription applied across the Atlassian cloud products like Jira Software, Jira Service Management, Jira Work Management, Confluence, Bitbucket, etc. So it is needed for Single Sign-On(SSO) or any Cloud Service which comes under Atlassian Access.

2. Domain Verification:

The first step of Atlassian Access starts with the Domain Verification Process to enforce SAML SSO on the managed user accounts. This process verifies that you own a valid domain for managing the user accounts and use the same domain name for the email addresses.

In this document, we will demonstrate the setup in two parts.

Part 1: Configure SAML SSO between Atlassian cloud as SP and miniOrange as IDP

Part 2: Configure SAML SSO between miniOrange as SP and Github as IDP

Part 1 + Part 2 : Testing SSO between Atlassian cloud as SP and Github as IDP using miniOrange Identity Broker.

Part 1: Setup miniOrange with Atlassian Access


Step 1. Setup miniOrange as an Identity Provider

  • Login into miniOrange Admin Console.
  • Go to Apps and click on the Add Application button.
  • Atlassian Access Cloud  Single Sign-On (SSO) add app
  • In Choose Application Type click on Create App button in SAML/WS-FED application type.
  • Atlassian Access Cloud Single Sign-On (SSO) choose app type
  • Search for Atlassian Cloud (SAML) in the list.
  • Atlassian Access Cloud Single Sign-On (SSO) miniOrange Create App
  • Enter the following values in the respective fields, you will receive these values after creating an app in Atlassian access. Refer this step.
  • Custom Application Name Any name would be fine
    SP Entity ID or Issuer You will receive after configuring Atlassian Access App
    ACS URL You will receive after configuring Atlassian Access App
  • Also make sure that Sign Response & Sign Assertion both options are turned ON. Then click on the Save button.
  • Once the App is successfully Created, Select that App and then click on Metadata option to get app’s Metadata.
  • Atlassian Access Cloud SSO (Single Sign-On) View metadata
  • Since we are using miniOrange as a Brokering Service in this solution, Go to Information required to authenticate via external idp section as highlighted, and Click on Show Metadata Details.
  • Atlassian Access Cloud SSO (Single Sign-On)
  • After clicking on the Show Metadata Details button you can see the metadata details.
  • You will need these details while configuring an Atlassian Access app.
    Atlassian Access Cloud SSO (Single Sign-On) View Metadata Details
  • In the left sidebar hover on Users then click on Users List
  • Atlassian Access Cloud SSO (Single Sign-On) miniOrange Add User
  • Click on Add User and enter details to enforce Single Sign On(SSO) on that user.
  • Atlassian Access Cloud SSO (Single Sign-On) miniOrange Add New User
    Make sure that the user created here will also exist in the Atlassian Cloud.

Step 2. Setup Atlassian Cloud

  • Now login to Atlassian Cloud Admin Console.
  • Select your organization and then select the Security tab. Click on SAML Single Sign-On from the left sidebar.
  • Atlassian Access Cloud SSO (Single Sign-On) Security tab
  • You can click on Instructions for different Identity Providers. It provides a help page for specific IDP and Attribute Names for Attribute Mapping.
  • Atlassian Access Cloud SSO (Single Sign-On) Cloud Instructions
  • Here you will get the SAML Configuration Instructions for different identity providers as listed. Click on Got it.
  • Atlassian Access Cloud SSO (Single Sign-On) Attribute Mapping
  • Click on Add SAML Configuration.
  • Atlassian Access Cloud SSO (Single Sign-On) Add Configuration
  • You will be redirected to the Add SAML Configuration window. Enter IDP Entity ID, SSO URL and the public certificate. Click on the Save Configuration button.
  • You will get these details in the metadata details section after configuring the miniorange app. Refer this step
    Atlassian Access Cloud SSO (Single Sign-On) Save Configuration
  • Now you will be shown SP Entity ID & SP ACS URL as shown below. These details will be needed in miniOrange app configuration. Now set up the Authentication Policies by clicking on the View Authentication Policies.
  • Atlassian Access Cloud SSO (Single Sign-On) View Policies
  • Click on Add Policy.
  • Atlassian Access Cloud SSO (Single Sign-On) Add policy
  • Enter the policy name and add the policy.
  • Now under Single Sign-On, click on Enable Single Sign-On.
  • Atlassian Access Cloud SSO (Single Sign-On) Atlassian Enable SSO
  • Then click on the Members tab besides the settings tab and click on Add Members.
  • The Single Sign On(SSO) will work only for Added Members.
    Atlassian Access Cloud SSO (Single Sign-On) Add Member
  • Enter details and click on Add Members.
  • The user must be present in both Atlassian and miniOrange.
    Atlassian Access Cloud SSO (Single Sign-On) Add User

Step 3. Test Atlassian Cloud - miniOrange Configuration

  • Go to Atlassian Login Page.
  • Enter email and click on Continue. Then you will be redirected to miniOrange Login Page
  • After logging into miniOrange, you will be successfully logged into Atlassian Cloud Dashboard
Now, you will be able to Login to your Atlassian Dashboard using miniOrange Credentials.

If you do not have any IDP, you can always go with miniOrange IDP.

Part 2: Setup miniOrange with Github


Step 1. Configure miniOrange as SP in Github

    Obtain the following steps to get callback url.

  • Go to miniOrange Admin Console.
  • From the left navigation bar, select Identity Provider.
  • azure ad saml Apps
  • Click on the Add Identity Provider button.
  • azure ad saml Apps
  • You will get the callback URL here, keep it handy this would be required in next steps.
  • azure ad saml Apps
  • Login to GitHub : Go to Github Developer and login with your account. Click on settings.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitHub SSO Login Setup GitHub
  • Select Developer settings.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitHub SSO Login Developer settings
  • Create App : Select OAuth Apps and click on Register a new application button.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitHub SSO Login Create App
  • Enter app credentials : Enter app name, plugin homepage URL. Copy callback URL from the plugin and paste it under Authorized callback URL field.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitHub SSO Login Enter app credentials
  • Copy Client ID and Client Secret.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitHub SSO Login Client ID
  • This step is optional. Follow this step if the email is returned as null while further configuring the plugin. Go to profile and set public email.
  • If Public Email field is disabled, go to Emails and uncheck the option Keep my email addresses private.
  • github_emails_tab

Step 2. Configure Github in miniOrange.

  • Go to miniOrange Admin Console.
  • From the left navigation bar select Identity Provider.
  • azure ad saml Apps
  • Select OAuth
  • azure ad saml Apps
  • Enter the following values.
  • IdP Name Custom Provider
    IdP Display Name Choose appropriate Name
    OAuth Authorize Endpoint https://{Github-app-domain}/oauth2/authorize
    OAuth Access Token Endpoint https://{Github-app-domain}/oauth2/token
    OAuth Get User Info Endpoint (optional) https://{Github-app-domain}/oauth2/userInfo
    Client ID This value can be obtained from the above steps
    Client secret This value can be obtained from the above steps
    Scope openid
  • Now you can click on Save.

Step 3. Test connection between miniOrange and Github

  • Go to the miniOrange Admin Dashboard.
  • Go to Identity Providers tab. Then click on select button under the app you just created. Then click on Test Connection.
  • A new popup login window will open. Enter your credentials and login.
  • Atlassian Access Cloud SSO (Single Sign-On) Add Member
  • Now you will see TEST SUCCESSFUL in a new popup window. If not, then check if you have missed any of the above step.

Part 3: Test Atlassian - Github Configuration


  • Go to Atlassian Login Portal.
  • Enter email and click on Continue. Then you will be redirected to Github Login Page.
  • After logging into Github Login Page, you will be successfully logged into Atlassian Cloud Dashboard.
If you encounter any difficulties configuring miniOrange add-ons, please contact us at atlassiansupport@xecurify.com or raise a support ticket here.
Salesforce Saml App

Exclusive features other miniOrange cloud app provides

  • Multiple Identity Providers(IDPs) to authenticate different types of users with different IDP.
  • Multiple Department Based Login to force the users to authenticate via a specific IDP based on the users' department.
  • Domain Mapping that allow users to redirect to their IDP based on their email departments.
  • Custom Attribute Mapping to update the user profile attributes in the application with the user attributes received from the IdP.
  • Signed Request and Response to secure your SSO with signed requests and encrypted SAML assertions.
  • Username Transformation to extract the required username from the received attribute using Regular Expression.
  • Group Mapping allows mapping user’s Identity Provider(IdP) groups to application groups. The user groups are updated on SSO.
  • User Store to integrate your application with multiple user stores like AD, LDAP, external database, etc. to easily manage your users.
  • Server to Cloud Migration to easily migrate your server SSO settings into Cloud.

Other Cloud Apps