Closed patrickkulling closed 2 years ago
Decided to close this issue as this is more of a sinatra question rather than an issue with this gem. In your example and readme you have highlighted to use post and provide an html snippet.
Our use case is slightly different, but not related to this library.
We have started to upgrade this gem to version
v1.0.1
in our sinatra application and have stumbled upon the following issue: "Sinatra doesn't know this ditty: GET /auth/google_oauth2"I assume this is related to switching over to the POST request.
Currently we want to simply redirect the user on our landing page if we don't have a valid session (see below). Do you have a good idea how to handle the new POST requirement as the regular redirect would perform a GET request by default?