Code Challenge Method Type Error #1533
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Hi there,
When attempting to set
code_challenge_method: 'S256',
I am getting the following error "Type '"S256"' is not assignable to type 'CodeChallengeMethod | undefined'.ts(2322)"'S256' is an accepted value according to CodeChallengeMethod but when I pass that string in I get a type error
Seems like something is off with the type that is expected to be passed in. If I do this,
code_challenge_method: <any>'S256'
, it works fine.This is how I have this block set-up.
Environment details
google-auth-library
version: 8.7.0Steps to reproduce
Thanks!
The text was updated successfully, but these errors were encountered: