System Information
- Strapi Version: 4.12.0
- Operating System: Windows 11
- Database: sqlite
- Node Version: 18.13.0
- NPM Version: 8.15.0
- Yarn Version: 1.22.19
I am using the below URL to log in to AWS Cognito, and it’s redirecting me to my Cognito URL.
http://localhost:1337/api/connect/cognito/
but, it’s adding “https” twice in the URL, as shown in the image below Image
If I remove it and submit my request, it’s working fine.
here is my provider server.js
module.exports = ({ env }) => ({
host: env(‘HOST’, ‘0.0.0.0’),
port: env.int(‘PORT’, 1337),
url: env(’’, ‘http://localhost:1337’),
app: {
keys: env.array(‘APP_KEYS’),
},
webhooks: {
populateRelations: env.bool(‘WEBHOOKS_POPULATE_RELATIONS’, false),
},
});
Please help me with the issue.