Error with Google SSO after NextCloud 24

I am using Social Login with Google SSO. It has been working great until I upgraded to NextCloud 24. Now, I get an error 400: redirect_uri_mismatch error from Google: I’ve been trying to upload a screenshot and it keeps failing, so I’ll just add the text from the error:

Authorization Error
Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console.
Learn more
Request Details
The content in this section has been provided by the app developer. This content has not been reviewed or verified by Google.
If you’re the app developer, make sure that these request details comply with Google policies.
redirect_uri: https://nextcloud.<domain>.com/index.php/apps/sociallogin/oauth/google

I am on NextCloud 24.0.1 and Social Login 4.15.2, Ubuntu 22.04 and PHP 8.0.18. This was originally set up by following:
https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/google.md

Again, this has been working for years and am unsure what was broken while upgrading NextCloud

I should also note that I removed Social login and added the app again and completely set up my google properties and the oath credentials

I got it working. In case anyone comes along with the same problem, here is the resolution.

In the previous install, having your Authroized redirect URI in https://console.cloud.google.com set to:
https://example.com/apps/sociallogin/oauth/google
it worked. Now, you have to ensure you add index.php in the redirect URI
https://example.com/index.php/apps/sociallogin/oauth/google

For me, this needed to be updated even though pretty urls are configured.