generated from duckdb/extension-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4849cfa
commit bdbc296
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ title: DuckDB GSheets | |
include: | ||
- privacy.md | ||
- ./README.md | ||
- oauth.html | ||
|
||
exclude: | ||
- "**/*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>DuckDB GSheets OAuth</title> | ||
</head> | ||
<body> | ||
<h1>DuckDB GSheets OAuth</h1> | ||
<p>Authorization successful! Please copy the code below and paste it into your DuckDB GSheets application:</p> | ||
|
||
<div class="label">Authorization Code:</div> | ||
<div id="authCode" class="code-box"></div> | ||
|
||
<script> | ||
function getParameterByName(name) { | ||
const urlParams = new URLSearchParams(window.location.search); | ||
return urlParams.get(name); | ||
} | ||
|
||
document.getElementById('authCode').textContent = getParameterByName('code') || 'No code found'; | ||
</script> | ||
</body> | ||
</html> |