Login to private repository
Access the login page to authenticate to GitHub and cache credentials, without actually loading a private file. This is useful only to establish authentication for SSO.
- If you haven't already authenticated to the private GitHub repository, then this page will briefly display a 'Loading content...' message that is automatically replaced by this introductory content and a login form.
- If you use the form and unsuccessfully authenticate to the private GitHub repository, then this page will still display the introductory content and login form but will also display a message identifying the type of authentication failure.
- If you use the form and successfully authenticate to the private GitHub repository:
- this page will display an 'authentication successful' message, but no content from the private GitHub repository will be displayed;
- your authentication credentials will be stored in memory for future use; and
- if you refresh this page or access other pages that use the stored authentication credentials, then the page will briefly display the 'Loading content...' message and attempt to use the stored credentials to access the private GitHub repository.
Note: If you want a login page but want to display a static 'login successful' message, then don't bother with 'ghpaAuthOnlyFlag'. Just create a public stub file called 'login.html' or something similar, and create a corresponding private file that contains your static 'login successful' message.