couchbaselabs / couchbaselabs/mini-hacks

Validate access token on the server side in custom auth example

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
137
Forks
54
PR merge metrics
No merged PRs in 30d

Description

There's a `google = require('googleapis')` dependency declared but never used.
It looks like every token received will get a valid session or will be created as a new user, I think there should be a token check against the google api !?

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the custom auth example and the declared but unused `google = require('googleapis')` dependency. Trace how received tokens currently create sessions or users, then determine the appropriate Google API token-validation entry point. Done means invalid or unverified tokens cannot create a valid session or new user.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, javascript
Domain
authentication, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.