How do I get Authorization code?

okay I thought you were talking about client credentials. But nevermind misunderstanding from my end
So it looks like I need to have server side or Flask running. Did you come across anyone who has done in Python so I can refer that code?