Announcements

Help Wizard

Step 1

NEXT STEP

PKRE code Challange await error

PKRE code Challange await error

I am attempting a PKRE Auth:

 

When I attempt to test the exact code in VSCODE I get an async await error.

Any ideas on how to handle this error?

thanks

const hashed = await sha256(codeVerifier)
"await is only valid in async functions"
Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random