Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make the oauth client a struct instead of a trait | Jesse Luehrs | 2019-12-18 | 1 | -28/+32 |
| | |||||
* | simplify | Jesse Luehrs | 2019-11-28 | 1 | -6/+6 |
| | |||||
* | fix confusing type signature | Jesse Luehrs | 2019-11-28 | 1 | -2/+2 |
| | |||||
* | simplify | Jesse Luehrs | 2019-11-27 | 1 | -17/+19 |
| | |||||
* | refactor a bit | Jesse Luehrs | 2019-11-27 | 1 | -84/+116 |
| | |||||
* | rethink how oauth logins need to work | Jesse Luehrs | 2019-11-27 | 1 | -62/+10 |
| | | | | | | | i can't exchange refresh tokens for access tokens without knowing the webface oauth configuration either, so this strategy also won't work. the server actually needs to only receive access tokens, and request the web server to refresh them as needed. | ||||
* | make the oauth methods return both tokens | Jesse Luehrs | 2019-11-27 | 1 | -4/+6 |
| | |||||
* | implement logging in with the oauth tokens on the server side | Jesse Luehrs | 2019-11-27 | 1 | -0/+53 |
| | |||||
* | fix method name | Jesse Luehrs | 2019-11-27 | 1 | -2/+2 |
| | |||||
* | the server doesn't need to know about the web oauth configs | Jesse Luehrs | 2019-11-27 | 1 | -25/+10 |
| | |||||
* | split oauth_response into two different messages | Jesse Luehrs | 2019-11-27 | 1 | -2/+2 |
| | | | | | | | | | | the local client needs to receive the code and send it directly to the server, which handles the rest of the oauth flow (because the client doesn't have the server's oauth configuration, so it can't do the exchange itself), but the web client needs to receive the code and exchange it for a token and send that token to the server (because the server doesn't have the web server's oauth configuration, so it can't do the exchange itself) | ||||
* | fix error message | Jesse Luehrs | 2019-11-26 | 1 | -4/+1 |
| | |||||
* | pass oauth login urls along to the browser | Jesse Luehrs | 2019-11-26 | 1 | -6/+5 |
| | |||||
* | allow multiple oauth configurations using the same auth type | Jesse Luehrs | 2019-11-26 | 1 | -12/+27 |
| | | | | | this should allow us to configure a separate oauth application for tt web than normal (since the redirect_url needs to be different) | ||||
* | resize the browser terminal if the streamer terminal is resized | Jesse Luehrs | 2019-11-22 | 1 | -7/+16 |
| | |||||
* | make sure our terminal size is updated correctly | Jesse Luehrs | 2019-11-22 | 1 | -1/+2 |
| | | | | a couple of our in-memory terminal parsers were being stuck at 80x24 | ||||
* | shorter names | Jesse Luehrs | 2019-11-16 | 1 | -14/+11 |
| | |||||
* | use workspaces | Jesse Luehrs | 2019-11-15 | 1 | -0/+1073 |