This is a basic code provided by both gspread and authlib libraries for oauth.
def create_assertion_session(scopes= ["https://spreadsheets.google.com/fee