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

The simulator works normally, OAuth 404 in tableau #421

Closed
luozewei opened this issue Dec 1, 2020 · 4 comments
Closed

The simulator works normally, OAuth 404 in tableau #421

luozewei opened this issue Dec 1, 2020 · 4 comments

Comments

@luozewei
Copy link

luozewei commented Dec 1, 2020

My connector has two authentication modes to obtain data. One is OAuth and the other is apikey. Both work normally in the simulator. However, when testing on tableau, the apikey mode works normally. However, if you jump to the authentication authority and submit the password through OAuth, it will 404 when you submit the password, or when Microsoft authentication returns to our certification center, I need to make those adjustments

@KeshiaRose
Copy link
Contributor

Hi @luozewei,
Have you tried debugging in Desktop instead? The Simulator does not accurately reflect the browser we use in Desktop and there may be features that aren't available.
-Keshia

@luozewei

This comment has been minimized.

@luozewei
Copy link
Author

luozewei commented Dec 2, 2020

The qtwebengine / 5.1.0 does not support the samesite property of cooike. I can only ask the server to filter out the version of qtwebengine / 5 on the server.
if(NotDisallowsSameSiteNone(userAgent)) { options.SameSite = (SameSiteMode)(-1); }
private static bool NotDisallowsSameSiteNone(string userAgent) { if (userAgent.Contains("QtWebEngine/5")) { return true; } return false; }
I hope you can upgrade to the latest version or support Cooike SameSite as soon as possible

@luozewei
Copy link
Author

luozewei commented Dec 2, 2020

closed issuse @KeshiaRose

@luozewei luozewei closed this as completed Dec 2, 2020
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

No branches or pull requests

2 participants