remix/auth · FunctionView Source
createXAuthProvider
Summary
Creates an X auth provider using OAuth 2.0 Authorization Code with PKCE.
Signature
function createXAuthProvider(
options: XAuthProviderOptions,
): OAuthProvider<XAuthProfile, "x", OAuthStandardTokens>;
Parameters
options
X client settings for your application.
Returns
An OAuth provider that can be passed to startExternalAuth() and finishExternalAuth().