Are there client flow browser oauth?



I want to make an html5 single page web app. I don’t want to setup a server or doing complicate things like firebase just to do oauth

I think it should be possible to have securely redirection flow on client side

Something like open a page to

And we would get hash of access token to use at redirection, without the need of secret code on server

I am not sure I miss something in document but it seem impossible


hi i want to login to twitter from my website, i have already created an app in developer console and got my client id and secret key but when i try to login it is authorizing and returning to the main page again…please give me some solution