- Asus ROG zephyrus G14
- Ryzen 9
- RTX 2060 Max Q
- 1 x 1TB NVME
- 16GB RAM
This file contains hidden or 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
{ | |
"label": "Build", | |
"labelColor": "orange", | |
"message": "Passing", | |
"color": "green", | |
"horizontalPadding": 10 | |
} |
This file contains hidden or 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
/* | |
* Store the private key and email id of the service account as environment variables | |
* PRIVATE_KEY - Service account private key | |
* SERVICE_ACCOUNT_EMAIL - email id of the service account | |
*/ | |
async function getToken(request) { | |
try { | |
// Function to encode an object with base64 | |
function objectToBase64url(object) { |
This file contains hidden or 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
/* | |
* AUTHOR: Karthik Ganeshram <[email protected]> | |
* Date: 07-06-2021 | |
* Description: A cloudflare worker template to validate Firebase ID tokens | |
* Usage: Request parameters: {method: POST, body:{"token: FIREBASE_ID_TOKEN}, headers: {"Content-Type": "application/json"}} | |
*/ | |
/* | |
* API url for Firebase-auth public key in JWK format |