Hi everyone,
I’m working on integrating AWS Cognito with Frappe to allow users to sign in using their Google credentials. Here’s what I’ve done so far:
- Configured AWS Cognito with Google as an identity provider.
- Generated a sign-in URL that allows users to log in with Google.
- After login, AWS Cognito redirects the user to a callback URL with an
authorization_code
as the value for thecode=
query parameter.
My goal is to have the callback URL point to Frappe, bypass the login screen, and seamlessly log the user into the application.
What I Need Help With:
- How do I set up Frappe to handle the
authorization_code
provided by AWS Cognito? - What configurations or code changes are necessary for Frappe to exchange the
authorization_code
for a token and bypass the login screen to log the user in?
Any guidance or examples would be greatly appreciated!
Thanks in advance!