TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OAuth and Single Page JavaScript Web-Apps

16 pointsby Inversechiover 10 years ago

1 comment

kiwidrewover 10 years ago
I&#x27;m confused: what exactly is the problem here?<p>Google APIs are designed [1] to be accessed on behalf of a Google account holder by client-side code without any server component being involved. The client-side code does <i>not</i> use client_secret, only client_id. There isn&#x27;t any secret key to steal from the code.<p>[1] <a href="https://developers.google.com/accounts/docs/OAuth2UserAgent" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;accounts&#x2F;docs&#x2F;OAuth2UserAgent</a>