Hiya folks, I'm playing with the Cognito JWT Authr...
# help
s
Hiya folks, I'm playing with the Cognito JWT Authroization example, but trying to use an AuthStack to create the cognito user pool for JWT based authentication. Can make it work, with two caveats 1) I need to manually enable the ALLOW_USER_PASSWORD_AUTH Authentication flow through the cognito console, and 2) Less of a caveat, more of an efficiency thing, the Auth stack creates an Identity Pool for IAM authorization by default, which I'd like to prevent / turn off. Appreciate any thoughts on achieving either of this ends! 🙂
t
I'm not sure about turning off the identity pool (if you figure that out I'd be interested to know too), but you can enable user password auth like this:
s
Thanks @Tanner Bindrup - that worked perfectly!
f
Hey @Shaun Hurley, we added the ability to turn off Identity Pool in
v1.0.0-beta.9
(this will be the default behavior in v1)
If u want to give v1 beta a shot now, here’re the steps to set it up https://docs.serverless-stack.com/constructs/migration
should only take 5-15mins depending on the size of ur app.
Thanks @Tanner Bindrup!
s
Thanks, shall try it out!