Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure OmniAuth is hit with a direct post #3

Merged
merged 1 commit into from
Dec 4, 2022

Conversation

eadz
Copy link
Contributor

@eadz eadz commented Dec 2, 2022

On a clean install of Bullet Train, running the oauth integration for Xero, the "Log in with Xero" results in a "Not found. Authentication passthru." error message.

Omniauth requires a POST, turbo is using fetch() which results in a failed 404 call.

Because we'll be redirected anyway, I don't see any reason to use Turbo. Tested locally, will see if there are any specs around this.

Some background discussion on this common OmniAuth issue: heartcombo/devise#5236

Omniauth requires a POST, turbo is using fetch() which results in a failed 404 call. 
Because we'll be redirected anyway, I don't see any reason to use Turbo.
Tested locally, will see if there are any specs around this. 

Also, I'm assuming that this file somehow serves as the erb template when you are using the super_scaffolder?
@andrewculver andrewculver merged commit a0ad8df into bullet-train-co:main Dec 4, 2022
@andrewculver
Copy link
Contributor

🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants