SRP Auth Flow for AWS cognito?


So we have a GraphQL API authorized using token from AWS Cognito and we are using Amplify for sign in. This is using the SRP auth flow (secure remote password) which is a pain to implement as a flow (if even possible since you need 3rd party libraries for encryption etc).

(But) I'm hoping maybe someone else has done this ? if so would you care to share this ? If not, any pointers from Retool on how to manage this?

Was of course thinking of using amplify as a preloaded library but read about the sandbox so probably won't work, also the custom auth flow does not have a step "execute arbitrary JS code" (Feature request? :slight_smile: )

well sorry for the ramble, let me know if you need any clarifications :slight_smile:
Many thanks!

1 Like