'OpenIDConnect', 'data' => [ 'providerURL' => 'https://ucs-sso-ng.claremontmakerspace.org/realms/ucs', 'clientID' => 'mediawiki', 'clientsecret' => $secrets['OpenIDSecret'], ] ]; wfloadextension( 'VisualEditor' ); wfLoadExtension( 'TemplateData' ); wfLoadExtension( 'Variables' ); wfLoadExtension( 'CSS' ); wfLoadExtension( 'Widgets' ); wfLoadExtension( 'ApprovedRevs' ); wfLoadExtension( 'SemanticApprovedRevs' ); wfLoadExtension( 'QRLite' ); wfloadextension( 'Diagrams' ); $wgDiagramsServiceUrl ='https://wiki.claremontmakerspace.org/diagrams'; wfLoadExtension( 'ExternalData' ); $edgStringReplacements['SNIPEIT_URL'] = 'https://inventory.claremontmakerspace.org'; $edgAllowExternalDataFrom = 'SNIPEIT_URL'; // TODO: Use ExternalDataBeforeWebCall to set the headers only for // snipeit API calls. Only matters if other domains are added to // the whitelist. $edgHTTPOptions = [ 'headers' => [ 'Accept' => 'application/json', 'Content-Type' => 'application/json', 'Authorization' => 'Bearer '.$secrets['SnipeITAPIKey'] ] ];