Auth0 as OpenIDC broker in AWS Cognito for AzureAD multi-tenancy support

If you read the previous article OAuth using AWS Cognito, then you should be also reading this. I’m writing this article after a month of this very story. But I believe I won’t miss much. SAML, OIDC setup and overview If we look into the out-of-the-box social identity providers , there are few. If we want to add Microsoft/Azure, that would be done via SAML or OpenID connect. Due to our client requirement, we started working on integrating Azure (now Entra) into Cognito via SAML. In Azure, to setup SAML, we start by creating an Enterprise Application. ...

March 24, 2024 · 5 min · Ben Shaji

Django OAuth setup with social login, AWS Cognito, GitHub - Full story

I spent some quality time researching about OAuth in Django. Tried more than 3 packages. Well, it was not just about just installing something and expect everything to work. There was some tinkering which i think i did well. Therefore, this some part of this blog might also help in your case i guess. I will be also uploading a YouTube video of the same, if i do, you can find the video at the bottom of this page. ...

January 25, 2024 · 12 min · Ben Shaji

Global variables in AWS Lambda are dirty!

What is this post about? Today, as usual, I started off the job in the morning. I’m at a juncture point of building part of a project – we need yet another micro-service. So I started writing a Python script to be deployed in AWS Lambda. This usually takes a couple of hours, max. But after I wrote it, I realized half the time was spent debugging an issue I didn’t even understand. ...

November 1, 2023 · 4 min · Ben Shaji