SSO Login Issue

Need help in EPIC Games SSO

We are stuck in the progress of SSO login. We are from BE(Ruby on Rails). Could you please assist us or share any missing areas which are missed by us. I have mentioned efforts in the document. Please find the document attached.