URI module contains URI generation functions which may be useful for linking on the Web or passing to other GitHub API clients.
The API endpoint for creating and retrieving authorizations.
authorize ?scopes ?redirect_uri ~client_id ~state () is the URL to redirect users to in an OAuth2 flow to create an authorization token.
?redirect_url is the URL in your Web application where users will be sent after authorization. If omitted, it will default to the callback URL in GitHub's OAuth application settings. The
state parameter should match the callback state parameter in order to protect against CSRF.