-
Notifications
You must be signed in to change notification settings - Fork 19
OpenID Request Flow
Tiffany edited this page Apr 29, 2019
·
3 revisions
Described below is the OpenID request flow required to successfully authenticate and log in to a chat room
- Navigate to the openid login page https://openid.stackexchange.com/account/login
- Find the fkey value (hidden field)
- Log in using the fkey, username and password at https://openid.stackexchange.com/account/login/submit
- Navigate to http://stackoverflow.com/users/login?returnurl=stackoverflow.com%2f
- Log in using the fkey, username and password at http://stackoverflow.com/users/login?returnurl=stackoverflow.com%2f
- Go to a room e.g. http://chat.stackoverflow.com/rooms/11/php because it's the Most Unexceptional...
- Get the fkey (again, I'm fairly certain by now it stands for fuckingkey)
- Get the websocket URL by making a POST request to http://chat.stackoverflow.com/ws-auth with the room id and the fkey
- /ws-auth should return the websocket URI to connect to