curved-wolf-66275
03/21/2023, 7:53 AMfast-lunch-54279
curved-wolf-66275
03/21/2023, 7:57 AMfast-lunch-54279
curved-wolf-66275
03/21/2023, 8:58 AMfast-lunch-54279
curved-wolf-66275
03/21/2023, 9:27 AMcurved-wolf-66275
03/21/2023, 9:40 AMproud-plumber-24205
03/21/2023, 9:51 AMcurved-wolf-66275
03/21/2023, 11:22 AMcurved-wolf-66275
03/21/2023, 11:30 AM<https://accounts.google.com/o/oauth2/v2/auth?client_id=(...)&>*redirect_uri=https%3A%2F%<http://2FXXX.projects.oryapis.com|2FXXX.projects.oryapis.com>*%2Fself-service%2Fmethods%2Foidc%2Fcallback%2Fgoogle&response_type=code&scope=email+profile+openid&state=(...)
And that is the problem. This request is triggered when I click to button Sign in with Google.fast-lunch-54279
fast-lunch-54279
curved-wolf-66275
03/21/2023, 12:36 PMcurved-wolf-66275
03/21/2023, 12:37 PMproud-plumber-24205
03/21/2023, 12:40 PMcurved-wolf-66275
03/21/2023, 12:41 PMhttps://<slug>.<http://projects.oryapis.com/self-service/methods/oidc/callback/google|projects.oryapis.com/self-service/methods/oidc/callback/google>
as Authorised redirect URI they want me to have <http://oryapis.com|oryapis.com>
on the content screen as well.curved-wolf-66275
03/21/2023, 12:42 PMcurved-wolf-66275
03/21/2023, 12:45 PMproud-plumber-24205
03/21/2023, 12:49 PM/self-service/methods/oidc/callback/google
since this should be the only allowed redirect URI.
Ory automatically handles the https://<slug>.<http://projects.oryapis.com|projects.oryapis.com>
to custom domain <https://my-custom-domain.com>
through 307 redirects, so it should work correctly.
Navigate to the Account Experience https://my-custom-domain.com/ui/login and try the OIDC flow. The URL to google should contain the redirect_uri=<https://my-custom-domain.com>
For the consent screens, continue using your custom domain.curved-wolf-66275
03/21/2023, 12:50 PMcurved-wolf-66275
03/21/2023, 12:52 PMproud-plumber-24205
03/21/2023, 12:53 PMcurved-wolf-66275
03/21/2023, 12:56 PMproud-plumber-24205
03/21/2023, 1:03 PMcurved-wolf-66275
03/21/2023, 1:03 PMcurved-wolf-66275
03/21/2023, 1:04 PMcurved-wolf-66275
03/21/2023, 1:11 PMcurved-wolf-66275
03/21/2023, 2:57 PMoidc:
config:
base_redirect_uri: <https://my.custom.domain/>