Use this type for a redirect back to the Raycast website, which will then open the extension.
In the OAuth app, configure https://raycast.com/redirect?packageName=Extension
(This is a static redirect URL for all extensions.)
If the provider does not accept query parameters in redirect URLs, you can alternatively use https://raycast.com/redirect/extension
and then customize the {@link OAuth.AuthorizationRequest} via its extraParameters property. For example add:
extraParameters: { "redirect_uri": "https://raycast.com/redirect/extension" }
App
App: "app"
Use this type for an app-scheme based redirect that directly opens Raycast.
In the OAuth app, configure raycast://oauth?package_name=Extension
AppURI
AppURI: "appURI"
Use this type for a URI-style app scheme that directly opens Raycast.
In the OAuth app, configure com.raycast:/oauth?package_name=Extension
(Note the single slash - Google, for example, would require this flavor for an OAuth app where the Bundle ID is com.raycast)
Enumeration Members
Web
Use this type for a redirect back to the Raycast website, which will then open the extension. In the OAuth app, configure
https://raycast.com/redirect?packageName=Extension(This is a static redirect URL for all extensions.) If the provider does not accept query parameters in redirect URLs, you can alternatively usehttps://raycast.com/redirect/extensionand then customize the {@link OAuth.AuthorizationRequest} via itsextraParametersproperty. For example add:extraParameters: { "redirect_uri": "https://raycast.com/redirect/extension" }App
Use this type for an app-scheme based redirect that directly opens Raycast. In the OAuth app, configure
raycast://oauth?package_name=ExtensionAppURI
Use this type for a URI-style app scheme that directly opens Raycast. In the OAuth app, configure
com.raycast:/oauth?package_name=Extension(Note the single slash - Google, for example, would require this flavor for an OAuth app where the Bundle ID iscom.raycast)