Skip to content

Conversation

KrrishSR4
Copy link

Problem

In the Spotify Auth sample, customToken.emailVerified was incorrectly set to true by default.
However, Spotify API does not verify user emails. This creates a potential security vulnerability.

Solution

  • Updated functions/index.js to ensure emailVerified is either unset or explicitly set to false.
  • Tested the flow to confirm that emailVerified is not marked as true.

Reference

Fixes #1154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] in sample: Spotify Auth
1 participant