How do I get Authorization code?

How you get the query or search parameter depends on the HTTP server and/or library you’re using. Refer to the documentation for the library you’re using.