mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
22 lines
No EOL
650 B
HTML
22 lines
No EOL
650 B
HTML
<!doctype html>
|
|
<html>
|
|
<head></head>
|
|
<body>
|
|
<script>
|
|
(function(){
|
|
"use strict";
|
|
if(window.opener){
|
|
var cloudcmd = window.opener.CloudCommander;
|
|
|
|
cloudcmd.getConfig(function(pConfig){
|
|
var GitHub_ID = pConfig.github_key;
|
|
|
|
window.location =
|
|
'https://github.com/login/oauth/authorize?client_id=' +
|
|
GitHub_ID + '&&scope=repo,user,gist';
|
|
});
|
|
}
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html> |