{"push_id":899749820,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"a16b4c197a963a9af511b0ab87cfd7d18e46eb98","before":"5d9bb2255df80034bdf4535b87c4b4fffa464323","commits":[{"sha":"7214c0f305907b3e46e5494d97ac30735221b9cd","author":{"email":"7396ae362d2d8bf2572e749045be9e9dab64ce94@lakeheadu.ca","name":"Ben Tranter"},"message":"Fix LinkedIn auth flow, close #33\n\nThis changes the way that the state parameter is dealt with.\nPreviously, `GetState` was defined twice: once in `gothic.go`, and again\nin the example (`examples/main.go`). This redefinition changed the\nbehaviour of `GetState` from returning a string to returning the value\nof the state parameter from the URL query string. That means that the\nstate parameter wasn't being set by the client during the auth flow.\nThat's okay for most providers, since sending a state parameter is\noptional... Except for with LinkedIn.\n\nNow, there is a `SetState` and `GetState` function. `SetState` returns a\nstring to be used when setting the `state` parameter as a client during\nthe auth flow, and `GetState` returns the value of the `state` parameter\nin the query string returned by the provider.","distinct":true,"url":"https://api.github.com/repos/markbates/goth/commits/7214c0f305907b3e46e5494d97ac30735221b9cd"},{"sha":"a16b4c197a963a9af511b0ab87cfd7d18e46eb98","author":{"email":"f1b5a91d4d6ad523f2610114591c007e75d15084@markbates.com","name":"Mark Bates"},"message":"Merge pull request #51 from bentranter/fix-linkedin\n\nFix LinkedIn auth flow, close #33","distinct":true,"url":"https://api.github.com/repos/markbates/goth/commits/a16b4c197a963a9af511b0ab87cfd7d18e46eb98"}]}