Our open source test reporting tool allows logging in via GitHub OAuth Web Application Flow.
To enable this feature you need to register new application in Github
Fill the following fields:
|Application name||Just something which allow you recognize what's this.|
|Homepage URL||Replace with |
|Authorization callback URL||As in the previous field replace with |
Once new application is created, you will have Client ID. Click on "Generate a new client secret" to get Client Secret, but do not close the window until you configure the Authorization on RP, since it will never show you the Secret again.
To setup access with GitHub auth on ReportPortal:
- Log in to the ReportPortal as an ADMIN user
- Open the list on the right of the user's image.
- Click the 'Administrative' link
- Click the 'Server Settings' from the left-hand sidebar
- Go to the 'Authorization Configuration' tab
- Then change the switcher position of 'Activate GitHub Authorization' to ON
- The Next fields should appear:
'Client ID': <value_of_clientId>
'Client Secret': <value_of_clientSecret>
'Add GitHub Organization' button-link: (optional)
In case the 'Organization Name' is not added, all GitHub users will have access to the ReportPortal instance.
If the 'Organization Name' is specified, only users of this organization will have an access to ReportPortal instance.
If the Name of GitHub organization is not validated, verify that the name is correct.
Example of GitHub auth configuration: Fill in the form:
'Client Id': 8767988c424a0e7a2640
'Client Secret': ef22c9f804257afaf399a2dada7c8f22dee5fd1b
'Organization Name': reportportal
Click on 'Submit' button. A confirmation message in status bar should be shown. A 'Login with GitHub' button will appear on login form.