GitHub
OvalEdge is a data catalog that compiles a comprehensive list of all data sources within an organization, facilitating improved data access and analysis. The OvalEdge application can be accessed with the regular user credentials provided by the OvalEdge administrator team or through the GitHub user credentials. Here, users accessing GitHub can also access OvalEdge through the OAuth Configuration.
Prerequisites
Administrator access to the GitHub Web Console.
Access to the OvalEdge application server.
Access to the external OvalEdge configuration file (
oasis.properties).Tomcat service restart privileges.
Steps Involved
Create an OAuth App in GitHub
Enter the GitHub web address (https://github.com/) in your web browser; the GitHub home page will be displayed.
On the GitHub homepage, click the Sign In button. The sign-in page in GitHub is displayed.

In the Sign in GitHub page, enter the required username or email address and password in the respective Username or email address and Password fields.
Click the Sign in button to validate the entered user credentials, and the GitHub home page will be displayed.

On the GitHub home page in the header menu, click on the User Profile icon, and the user profile settings dropdown is displayed.
In the user profile settings dropdown, select the Settings option. The Public profile home page is displayed.

On the public profile home page, click the Public Email field. The email address associated with the logged-in user is displayed in the Public email field.

If the logged-in user's email address is not displayed in the Public email field, then click on the email settings hyperlink. The Emails page is displayed.
In the Emails page, uncheck the “Keep my email addresses private” checkbox. Here, the system will automatically update the email settings and set the user's email address as public.
To verify the email address as public, click on the Profile link. The Public Profile main page is displayed.

In the Public profile page, click on the Public email field. The email address associated with the logged-in user is displayed in the dropdown.
Select the email address from the Public email dropdown list and set it as public.
Click the Developer Settings link on the Public profile page, located in the left menu. The Developer Settings home page is displayed.

In the Developer Settings page, click on the OAuth Apps link. The OAuth Apps section is displayed in the right section of the page.
In the OAuth Apps section, click on the New OAuth App button. The Register a new OAuth application page is displayed.

On the Register a new OAuth application page, enter the following details:
Application Name: Example:
OvalEdgeHomepage URL: Example:
http://localhost:8080/ovaledgeApplication description: Example:
OvalEdge OAuthAuthorization callback URL: Example:
http://localhost:8080/ovaledge
After entering the details in the required fields, click the Register Application button, and the newly created application page will be displayed.

On the newly created application page, verify the Client ID and Client secrets, and capture the Client details. These details will be used in the OAuth Properties configuration.
If the Client secrets are unavailable, click the Generate a new client secret button. The Client secrets textbox is displayed.

In the Client secrets textbox, enter the required client secrets code and click the Generate a new client secret button. The entered client secrets code is generated, and the newly created application page is displayed.
After verifying the Client ID and Client secrets details, click the Update application button. The “application updated successfully” message will be displayed.
Configuring OAuth Properties
Locate the
oasis.propertiesfile. The default path is:/home/ovaledge/extprop/oasis.propertiesUpdate the following properties:
Existing Properties (Google OAuth example):
spring.security.oauth2.client.registration.google.clientId=clientId spring.security.oauth2.client.registration.google.clientSecret=clientSecret spring.security.oauth2.client.registration=googleModified Properties (GitHub OAuth):
spring.security.oauth2.client.registration.github.clientId=<Client_ID> spring.security.oauth2.client.registration.github.clientSecret=<Client_Secret> spring.security.oauth2.client.registration=github spring.security.oauth2.client.registration.github.orgs=<Organization_Name> spring.security.oauth2.client.registration.github.scopes=user:email,read:orgReplace
<Client_ID>and<Client_Secret>with values obtained from the GitHub OAuth App.
Enable OAuth Authentication
Update Tomcat environment variables to enable OAuth authentication:
Windows: Modify
setenv.batin the Tomcat bin directory:set CATALINA_OPTS="-DOVALEDGE_SECURITY_TYPE=oauth2"Linux: Modify
setenv.shin the Tomcat bin directory:export CATALINA_OPTS="-DOVALEDGE_SECURITY_TYPE=oauth2"
Restart the OvalEdge application after changes:
systemctl restart tomcat
Access the OvalEdge application
Navigate to the OvalEdge Sign-In page. A new option Continue with GitHub is displayed.

Click Continue with GitHub. The GitHub login page is displayed.
Enter valid GitHub credentials. On successful authentication, access to OvalEdge is granted.
Error Handling & Rollback
If login fails:
Verify that Client ID and Client Secret are correctly configured in
oasis.properties.Ensure that the email is set to public in GitHub profile settings.
Confirm that required scopes (
user:email, read:org) are configured.
Rollback option:
Restore the previous
oasis.propertiesfile backup.Revert Tomcat
setenvchanges by removing theOVALEDGE_SECURITY_TYPEvariable.Restart Tomcat.
Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

