Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Github multiple organizations import

AkshayKalambate
New Contributor
New Contributor

Hi,
We are onboarding GitHub application using GitHubRest OOTB Connector.
We were following below given documentation:
https://docs.saviyntcloud.com/bundle/GitHubRest-v24x/page/Content/Creating-an-Integration.htm#regist...

In this document it is mentioned that in ORGANIZATION_LIST parameter we need to give comma separated list of organizations.

But how to use this list in import JSON API <Org_Name>:

"http": {
"url": "https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1",
"httpHeaders": {
"Authorization": "${access_token}" },
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET" }, 

Anyone can please help us with this.
Thanks in Advance.

18 REPLIES 18

rushikeshvartak
All-Star
All-Star

Internally it should loop with multiple organizations 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi Rushikesh,
Thank you so much for response.
Wanted to clarify with you:
did you mean In Import JSON API URL "https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1", we should keep <Org_Name> as is and it will loop automatically?

Thank you

Yes


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi Team,
I am facing another challenge while integrating Saviynt-GitHub.
GitHub Rest APIs I am using for fetching members and individual user details not returns any attribute which we can use for Account correlation. Email ID coming null, Login, ID not matching with Saviynt Data.

Can anyone please guide me in this situation.

Thanks,
Akshay

  • You will need unique attribute for correlation. check with app team

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor III
Honored Contributor III

Hi @AkshayKalambate , if we combine few attribute does that give any unique property?


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

AkshayKalambate
New Contributor
New Contributor

Hi,
In GitHub API response Login and ID are unique attributes but the values are not matching with any of the attribute value in Saviynt user profile.
Also any combination is not matching.

Thanks,
Akshay

AkshayKalambate
New Contributor
New Contributor

Hi,
GitHub app team provided us with another Internal Identity API to resolve relation between of Saviynt user and Github Account but challenge is this internal APIs are worked on different access token. So I am unable to use GitHub OOTB rest API this Internal API in Same Import Json account object.

Thanks,
Akshay

  • You need to use standard REST Connector

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor III
Honored Contributor III

@AkshayKalambate create a new connection for importing you can have multiple connection.


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

NM
Honored Contributor III
Honored Contributor III

@AkshayKalambate , get back to app team and ask them to populate a value for existing account maybe be provided the list and an identifier to them..

For new account from saviynt everything will be already sorted.


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

AkshayKalambate
New Contributor
New Contributor

Hi,
If we consider below given account params snippet:
We are using one connection acctAuth for call1 and and call2.
Even if I create two connections how to use those for two API calls in same AccontParam .
Could you please give any example.

AkshayKalambate_1-1724682104193.png

Thanks,
Akshay

 

You can define connection name in individual call

rushikeshvartak_0-1724690052120.png

https://docs.saviyntcloud.com/bundle/Dev-Handbook-REST-v24x/page/Content/Developers-Handbook.htm

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

AkshayKalambate
New Contributor
New Contributor

Hi @rushikeshvartak ,

So in Call1 I can use acctAuth only And in Call2 connection we can use different connection name. Other than acctAuth?

Thanks,
Akshay


And in Call1 I can use acctAuth only.

Yes


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor III
Honored Contributor III

Hi @AkshayKalambate did the above suggested approach work?


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

AkshayKalambate
New Contributor
New Contributor

Hi @NM ,
We have configured above approach but some how we are getting unauthorized exception for all the APIs called using second token. APIs are working in Postman.
We have raised ticket with Saviynt. 

Thanks

Can you share logs


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.