Best oauth method for local application

I personally utilize the difference between GET and POST to “grab” the token from the # part - since the redirect always causes a GET request and then POST to the same endpoint by using the snippet from here: https://github.com/Marenthyu/SCPI/blob/ca98523e06ab9daf179f05e84345fe88a868ed90/Main.cs#L452