src/main/js/oidc-connector.js
/**
     * Generate the URL to the OAUTH2 Authorize endpoint from oauth_url and configuration parameters
     *
     * @param {OIDCConnect.ConnectConfiguration} clientConfig
     * @return {string} url to OAUTH2 Authorize Endpoint
     * @private
     */
Generate the URL to the OAUTH2 Authorize endpoint from oauth_url and configuration parameters
@param {OIDCConnect.ConnectConfiguration} clientConfig
@return {string} url to OAUTH2 Authorize Endpoint
@private
Generate the URL to the OAUTH2 Authorize endpoint from oauth_url and configuration parameters @param { OIDCConnect . ConnectConfiguration } clientConfig @return { string } url to OAUTH2 Authorize Endpoint @private
function createAuthorizeClientUrl( clientConfig ) {
        if ( !CONFIG.oauth_url ) {
            throw Error( `[${TAG}] doConnect - URL to authorization_endpoint missing. Pass oidc_url in OIDC.doInit() to a valid openid-configuration or pass oauth_url (authorization_endpoint) directly to OIDC.doInit().` );
        }
        const objectUrl = DomHelper.serializeConfigToURL( clientConfig );
        return `${CONFIG.oauth_url}?${objectUrl}`;
    }
function createAuthorizeClientUrl ( clientConfig ) { if ( ! CONFIG . oauth_url ) { throw Error ( ` ${ TAG } ` ) ; } const objectUrl = DomHelper . serializeConfigToURL ( clientConfig ) ; return ` ${ CONFIG . oauth_url } ${ objectUrl } ` ; }
Generate the URL to the OAUTH2 Authorize endpoint from oauth_url and configuration parameters
 @param {OIDCConnect.ConnectConfiguration} clientConfig
 @return {string} url to OAUTH2 Authorize Endpoint
 @private
Generate the URL to the OAUTH2 Authorize endpoint from oauth_url and configuration parameters @param { OIDCConnect . ConnectConfiguration } clientConfig @return { string } url to OAUTH2 Authorize Endpoint @private