state is a variable they provide that can be used to confirm that the redirect is coming from your app. I don't really use it, but if I did, it would be outside this library, I think.