Comments (5)
Thank you for opening this issue!
🔔 @Spioune you might want to have a look.
💡 Author and Contributors commands
The author and contributors of spioune/turso
can trigger bot actions by commenting:
@raycastbot close this issue
Closes the issue.@raycastbot rename this issue to "Awesome new title"
Renames the issue.@raycastbot reopen this issue
Reopen the issue.
from extensions.
Turso updated their auth api recently. A partial fix has been submitted and waiting to be merged here #11333.
This will fix the redirect and authenticate the extension correctly but for a reason I don't understand yet, Raycast will hang on the OAuth screen:
![image](https://private-user-images.githubusercontent.com/8796095/313451713-44962255-a732-4738-a69e-a1259adbb7ef.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNTU1ODksIm5iZiI6MTcxOTI1NTI4OSwicGF0aCI6Ii84Nzk2MDk1LzMxMzQ1MTcxMy00NDk2MjI1NS1hNzMyLTQ3MzgtYTY5ZS1hMTI1OWFkYmI3ZWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMTg1NDQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzgzMDM4YjUxZWU1YjZjNzllY2EyMDk1NmNiNmNjNWQ1YjE3MDE4YjdkMWE3OGQ3OTA1NjA0NmYxODMwMWVmMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.iss_B9_pGnut6Awrjz35Bcnet2NT__DVWV-47vm8AA0)
At this point, we can go back to the main menu with Backspace
and the extension is correctly authenticated.
I am trying to figure it out.
from extensions.
Before:
const authRequest = await client.authorizationRequest({
endpoint: "https://api.turso.tech",
clientId: "",
scope: "",
extraParameters: {
type: "cli",
redirect: "true",
port: port.toString(),
},
});
await client.authorize(authRequest);
// OK
After:
const authRequest = await client.authorizationRequest({
endpoint: "https://api.turso.tech",
clientId: "",
scope: "",
extraParameters: {
type: "cli",
redirect: "true",
port: port.toString(),
},
});
// I have to use a custom url here because Turso doesn't accept "unnecessary" query params anymore (like clientId, scope, redirect_uri, codeVerifier, codeChallenge)
await client.authorize({
url: `https://api.turso.tech/?type=cli&redirect=true&port=${port}&state=${authRequest.state}`,
});
// Never comes here
Raycast redirects to the extension but this promise never resolves:
await client.authorize({
url: `https://api.turso.tech/?type=cli&redirect=true&port=${port}&state=${authRequest.state}`,
});
The redirect URL is the same as before:
https://www.raycast.com/redirect?packageName=Extension&code=idontneed&state=${authRequest.state}
I feel there was an update of Raycast recently that checks the code ? (which I don't use, since I don't use the normal OAuth flow) @pernielsentikaer
from extensions.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
from extensions.
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it 🙂
You can also catch us in Slack if you want to discuss this.
from extensions.
Related Issues (20)
- Authy - Twilio app HOT 23
- [Bitwarden Vault] Allow login with device HOT 1
- [Superwhisper - Offline Voice to Text] Text is not being pasted to text editor HOT 1
- [Window Management] Create Window command that gets activated per app HOT 1
- [Ollama AI] Continue chat conversation with pre-defined commands HOT 1
- Flush DNS asks for password instead of Touch ID on macOS Sonoma HOT 1
- [Arc] Find and open an existing favorite tab based on argument to avoid search and enter HOT 1
- [Arc] New command to open an existing tab in a specific space and if it is not open the do so HOT 1
- It is not clear how to update your local fork. Please extend the documentation or raycast HOT 1
- [U301 URL Shortener] ...Shorten URL From clipboard and not selected text HOT 2
- Gemini Extension API Key Problem HOT 3
- [Arc] Performance is not good. There is a different implementation, please use it HOT 1
- [Deepcast] Add support for DeepL Write HOT 1
- [Claude] Extension reverts to the default prompt after resetting a conversation HOT 2
- [Omnivore] Creates empty label when the label placeholder left empty HOT 2
- Adding Claude 3.5 Sonnet to Raycast AI Chat HOT 1
- [Plex] Failed to fetch latest data hostname/IP does not match certificate's altnames: IP: xxx.xxx.xxx.xxx is not in the cert's list HOT 1
- [Remember This] Causing raycast to quit when configuring
- Doesn't re-ask for permissions when allowing the modifications accidentally skipped HOT 1
- [Quick Event] ...add location to natural language recognition HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extensions.