Does Auth code remain the same and only the access token is needed to be regenerated?

Does Auth code remain the same and only the access token is needed to be regenerated?
Also, how can I automate it completely using Python, without selenium?

Using this page for redirection

2 replies