github.com/lologarithm/mattermost-server@v5.3.2-0.20181002060438-c82a84ed765b+incompatible/templates/complete_saml_extension_body.html (about) 1 {{define "complete_saml_extension_body"}} 2 3 <html> 4 <head> 5 <script> 6 document.addEventListener("DOMContentLoaded", function(event) { 7 var extensionId = {{.ExtensionId}}; 8 9 if (!extensionId) { 10 return; 11 } 12 13 chrome.runtime.sendMessage( 14 extensionId, 15 { 16 value: {{.Token}}, 17 error: {{.Error}} 18 }, 19 function(response) { 20 } 21 ); 22 }); 23 </script> 24 </head> 25 <body> 26 Login Successful 27 </body> 28 </html> 29 30 {{end}}