Hey Vinay,
Apologies for responding late, well as said, it is just a POC to achieve the SSO. Yes, we can refactor the configuration to a different file and as of now we are working on integrating this functionality with other front end frameworks, soon ill update a post