sso.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <div class="standardContainer">
  2. <div class="ui basic segment">
  3. <h2>Zoraxy SSO / Oauth</h2>
  4. <p>A centralized authentication system for all your subdomains</p>
  5. <div class="ui divider"></div>
  6. <div class="ui basic segment enabled ssoRunningState">
  7. <h4 class="ui header" id="ssoRunningState">
  8. <i class="circle check icon"></i>
  9. <div class="content">
  10. <span class="webserv_status">Running</span>
  11. <div class="sub header">Listen port :<span class="webserv_port">8081</span></div>
  12. </div>
  13. </h4>
  14. </div>
  15. <div class="ui form">
  16. <h4 class="ui dividing header">Oauth2 Server</h4>
  17. <div class="field">
  18. <div class="ui toggle checkbox">
  19. <input type="checkbox" name="enableOauth2">
  20. <label>Enable Oauth2 Server<br>
  21. <small>Oauth2 server for handling external authentication requests</small></label>
  22. </div>
  23. </div>
  24. <div class="field">
  25. <label>Oauth2 Server Port</label>
  26. <input type="number" name="oauth2Port" placeholder="Port" value="5488">
  27. <small>Listening port of the Zoraxy internal Oauth2 Server.You can create a subdomain proxy rule to <code>127.0.0.1:<span class="ssoPort">5488</span></code></small>
  28. </div>
  29. <h4 class="ui dividing header">Zoraxy SSO</h4>
  30. <div class="field">
  31. <div class="ui toggle checkbox">
  32. <input type="checkbox" name="enableZoraxySSO">
  33. <label>Enable Zoraxy SSO<br>
  34. <small>Use Zoraxy SSO credentials with upstreams that do not support oauth</small></label>
  35. </div>
  36. </div>
  37. </div>
  38. <div>
  39. <p>List of Registered Apps in</p>
  40. </div>
  41. </div>
  42. </div>
  43. <script>
  44. $("input[name=oauth2Port]").on("change", function() {
  45. $(".ssoPort").text($(this).val());
  46. });
  47. </script>