Automate oauth2.0 using ruby

authorization_code_value
how to get this value and pass