It has actions to redirect users to X to authenticate and return with the auth code. Then there is an action to get access token using the auth code and code verifier challenge used in first step, however the access token action results empty with an error in getuserinfo action as below. Any fixes?
Thank you for your message and for trying out our plugin!
We reviewed the issue and ran tests on our side, including the sample app, but so far everything seems to be working correctly. That said, we understand this may depend on your specific setup or values being passed into the plugin actions.
Since you’re encountering the error during the X - getAccessToken step, could you please check the following?
Ensure that the redirect_url parameter in X - getAccessToken matches exactly with the one used in X - getRedirectURL.
Ensure that the code_verifier you pass to X - getAccessToken is the same as the one returned by X - getRedirectURL.
These two values must match for the PKCE flow to work correctly.
Also, you may find more detailed error information in the Server logs:
Go to “Logs” in the Bubble editor
Click “Show advanced”
Enable both “Plugin server side output” and “Plugin server side error”
If you’re still running into issues, we’d be happy to take a look at a minimal reproducible example or editor link.