Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gmail Connect — sign-in page

The Connect page for Gmail Connect, a Gmail widget for the Corsair XENEON EDGE.

The widget on the EDGE draws a QR code. Scanning it opens this page with a one-time pairing secret in the URL fragment. After you approve with Google, this page encrypts the resulting key under a value derived from that secret and posts the ciphertext to a short-lived record, which the widget then claims and decrypts.

The secret travels only in the URL fragment, which browsers never send to a server, so nothing in between — including whatever hosts that record — can read the key.

There are no credentials in this repository. The OAuth client id is served by, and its secret never leaves, a Supabase Edge Function that performs the token exchange and the hourly renewals on the page's behalf.

Page
index.html the Connect page (also the OAuth redirect URI)
about.html what Gmail Connect is
privacy.html privacy policy
terms.html terms of service

Served at https://qaemalmanasif.github.io/gmail-widget/.

About

Sign-in (Connect) page for Gmail Connect, the Gmail widget for the CORSAIR XENEON EDGE: scan the QR code on the Edge, approve with Google, done.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages