diff --git a/.gitignore b/.gitignore index 696344a..5411f93 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ vendor/ config.json composer.phar DOMAIN_OVERRIDE +*.log diff --git a/README.md b/README.md index eb10583..8f8505a 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,13 @@ Warrant canary available at /etc/ttyserver/canary ## TODO: (From Fedi Reports) * [ ] Descriptive pubkey upload responses -* [ ] Fix OAuth Process (Invalid showing up) -* [X] Change Sign Up to Log In +* [ ] **Fix OAuth Process (Invalid showing up)** * [ ] UI to manage user's public keys * [ ] Web Notifications for user activity * [ ] Web UI to opt into [Gemini Web Proxy](https://git.corrupt.link/maddiefuzz/skeksis) * [ ] Canary description popup? * [ ] Shift-Click for Keygen Options * [ ] Download SSH Public Key on fingerprint click? + +## Completed TODO: + * Change Sign Up to Log In diff --git a/auth/index.php b/auth/index.php index 02ef7c4..241493b 100644 --- a/auth/index.php +++ b/auth/index.php @@ -1,8 +1,18 @@ @@ -72,6 +93,7 @@ if (isset($_REQUEST["act"])){ curl_setopt($request, CURLOPT_POSTFIELDS, $options); $response = curl_exec($request); curl_close($request); + flog("oauth_token:91 ✨ ".$response); $Auth = json_decode($response); if(isset($Auth->token_type)){ // Valid Auth? @@ -85,6 +107,8 @@ if (isset($_REQUEST["act"])){ curl_close($request); $User = json_decode($response); + flog("cred_verify:104 ✨ ".$response); + if (isset($User->id)){ // Congrats! $AuthToken = $Auth->access_token; @@ -118,11 +142,10 @@ if (isset($_REQUEST["act"])){ // revoke token after usage ?> - +
> - Invalid @@ -135,13 +158,11 @@ if (isset($_REQUEST["act"])){
> -
> -