You may encounter this issue if you do not select the “Generate a Client secret” radio button while creating the application in your AWS Pool.
Once you create the application, you cannot edit this option. To address this problem, you should create a new application and ensure that you select the “Generate a Client Secret” radio button during the application creation process.