As I don’t use AWS Cognito I’m not sure.
I chimed in to help with your CORS issue since you seemed to be oAuthing wrong.
This answer might be of help Reddit - Dive into anything
I don’t know if these fields as for specifiying oAuth configuration or where to send a user after they login/logout.