Hi Team,
I installed flarum,configured all the details and automcatically created config.php file.
I have added below lines in /etc/apache2/sites-available/000-default.conf file and also enabled mod_rewrite.
<Directory "/var/www/html/flarum/public">
AllowOverride All
</Directory>
In config.php file url like below.
'url' => 'https://<AWSPublicIP>/flarum/public'
OAuth authorization URL(fof/passport extension in flarum)
https://<AWSCognitoDomain>/oauth2/authorize?client_id=<ClientID>&response_type=token&scope=aws.cognito.signin.user.admin+openid+email+phone+profile+flarumresoureserver/login&redirect_uri=https://<AWSEC2Domain>/flarum/public/auth/passport
Configured AWS Cognito OAuth2.0 for Passport Extension.
Authentication was successful with AWS Cognito and Redirected to flarum URL.
At this time Too Many redirects error is displayed.
This page isn’t working <AWSEC2Domain> redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
Can you suggest is there any configuration that I am missing in the above?