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

Registering the Connector as a Client Application in GitHub issue

itinjic
Regular Contributor
Regular Contributor

Hello community,

For the integration with Github I followed this documentation (https://docs.saviyntcloud.com/bundle/GitHubRest-v55x/page/Content/Creating-an-Integration.htm)

I did everything up to 9 steps. 

9. Construct the following URL to provide the consent for OAuth authorization:

https://<GitHub site URL>/login/oauth/authorize?client_id=<client id>&redirect_uri=<redirect uri>&scope=<scope>&state=<name of state>&allow_signup=true

 

This is my URL:  
https://github.com/login/oauth/authorize?client_id=client_idExampleXXX&redirect_uri=https://customdo.../Oauth/callback&scope=admin:org&state=Saviynt%20Staging&allow_signup=true

When I create this URL and run it --> login --> I get this message for  https://<domain>/oauth/callback

itinjic_0-1721827305508.png

 

Also I tested with this URL callback https://customdomain.saviyntcloud.com/ECM/Oauth/callback

itinjic_1-1721827920935.png

I have ROLE_ADMIN SAV role and this role have all the permissions.

I also used this path /ECM/login/auth and in this case it works (add a user on github) but where I can see that code ? 

 

itinjic_2-1721829474851.png

itinjic_3-1721829528236.png

 




Sapere aude
9 REPLIES 9

rushikeshvartak
All-Star
All-Star

Keep state name without space 


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

itinjic
Regular Contributor
Regular Contributor

Thanks , when spaces are deleted the first link works (user has been registered in GitHub) but I can not see code.

When I call the link (step 13) it takes me to the login page, then when I log in I get this message.

itinjic_0-1721909772775.png

 

Sapere aude

Did you validated logs


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

itinjic
Regular Contributor
Regular Contributor
This is what I menage to find in the log :


Refresh token will not be generated
Println :: Refresh token will not be generated
Sapere aude

Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .



‼️‼️⚠️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.⚠️‼️‼️


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

itinjic
Regular Contributor
Regular Contributor

itinjic_1-1722323963382.png



itinjic_0-1722323757196.png

 

Sapere aude

Share logs in text format


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

itinjic
Regular Contributor
Regular Contributor

Here is the CSV file

Sapere aude

It seems there are pending configuration 

024-07-30T13:17:21.507+00:00,ecm,security.RestTokenGeneratorService,,DEBUG,isValidRedirectionRequestFromMS: true
2024-07-30T13:17:21.507+00:00,ecm,println.PrintlnToLogger,,DEBUG,Println :: isValidRedirectionRequestFromMS: true
2024-07-30T13:17:21.507+00:00,ecm,security.RestTokenGeneratorService,,DEBUG,accessTokenCookieFromMS is empty and isValidRedirectionRequestFromMS true.
2024-07-30T13:17:21.507+00:00,ecm,security.RestTokenGeneratorService,,DEBUG,msSubdomain before generating token = ecm
2


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