aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm/src/oauth.rs
Commit message (Collapse)AuthorAgeFilesLines
* rethink how oauth logins need to workJesse Luehrs2019-11-271-36/+14
| | | | | | | 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.
* better error messagesJesse Luehrs2019-11-271-1/+1
|
* make the oauth methods return both tokensJesse Luehrs2019-11-271-6/+8
|
* implement logging in with the oauth tokens on the server sideJesse Luehrs2019-11-271-10/+30
|
* calculate the redirect_url for web oauth tooJesse Luehrs2019-11-271-0/+4
| | | | | a bit more complicated because it needs to use the configured public_address, etc
* allow multiple oauth configurations using the same auth typeJesse Luehrs2019-11-261-1/+1
| | | | | this should allow us to configure a separate oauth application for tt web than normal (since the redirect_url needs to be different)
* shorter namesJesse Luehrs2019-11-161-7/+5
|
* use workspacesJesse Luehrs2019-11-151-0/+181