There were many recent discussions in the forum regarding the OAuth flow and how to use it to authenticate IFS.
I was but curious to give a shot on implementing OAuth flow with IFS Identity Provider and finally got it to work
You can check the code in my github repo https://github.com/knakit/IFS-OAuth
Code is pretty primitive and most of it either taken from stackoverflow or from other repos
More information about the IFS Authentication flow with OAuth can be found in my blog IFS Authentication flow with OAuth and OpenID Connect – DSJ's Blog (dsj23.me)
Like, comment and if you think you can make it better, pls contribute to the github project!