Skip to content

Bugfix : Ensure emailVerified is not set to true in Spotify Auth sample#1214

Open
KrrishSR4 wants to merge 1 commit intofirebase:mainfrom
KrrishSR4:patch-1
Open

Bugfix : Ensure emailVerified is not set to true in Spotify Auth sample#1214
KrrishSR4 wants to merge 1 commit intofirebase:mainfrom
KrrishSR4:patch-1

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

Comments