2022-06-10 22:03:30 +12:00
<?php
$provider = $this->getParam('provider', '');
?>
2022-06-11 00:03:51 +12:00
< label for = "oauth2 <?php echo $this -> escape ( ucfirst ( $provider )); ?> Appid" > App ID</ label >
< input name = "appId" id = "oauth2 <?php echo $this -> escape ( ucfirst ( $provider )); ?> Appid" type = "text" autocomplete = "off" data-ls-bind = "{{console-project.provider <?php echo $this -> escape ( ucfirst ( $provider )); ?> Appid}}" />
< label for = "oauth2 <?php echo $this -> escape ( ucfirst ( $provider )); ?> Secret" > App Secret</ label >
< input name = "clientSecret" id = "oauth2 <?php echo $this -> escape ( ucfirst ( $provider )); ?> ClientSecret" type = "text" autocomplete = "off" data-ls-bind = "{{console-project.provider <?php echo $this -> escape ( ucfirst ( $provider )); ?> ClientSecret}}" />
2022-06-15 19:30:24 +12:00
< label for = "oauth2 <?php echo $this -> escape ( ucfirst ( $provider )); ?> Endpoint" > Endpoint (optional)< span class = "tooltip" data-tooltip = "If you have self-hosted instance, provide the host." >< i class = "icon-info-circled" ></ i ></ span ></ label >
< input name = "endpoint" id = "oauth2 <?php echo $this -> escape ( ucfirst ( $provider )); ?> Endpoint" type = "text" autocomplete = "off" data-ls-bind = "{{console-project.provider <?php echo $this -> escape ( ucfirst ( $provider )); ?> Endpoint}}" placeholder = "https://gitlab.com" />
2022-06-10 22:03:30 +12:00
2022-06-11 00:03:51 +12:00
< input name = "secret" data-forms-oauth-custom = " <?php echo $this -> escape ( ucfirst ( $provider )); ?> " id = "oauth2 <?php echo $this -> escape ( ucfirst ( $provider )); ?> Secret" type = "hidden" autocomplete = "off" data-ls-bind = "{{console-project.provider <?php echo $this -> escape ( ucfirst ( $provider )); ?> Secret}}" />