-
Notifications
You must be signed in to change notification settings - Fork 9
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
Oauth error #21
Comments
The This is the way it's handled in the official Python library, for example |
Yes, it's handled that way in the JS client too. |
Both tests (with and without options) pass in CI, and both return valid redirect URL's, so I'm not sure what is causing the issue. It's also showing no errors in the Supabase dashboard. I am unable to reproduce this with the demo project at the moment. |
Could you clarify the reason for calling the /authorize endpoint? I can't find any documentation on it and it doesn't seem to be used in the other auth clients. |
Bug report
Describe the bug
NetworkError(reqwest::Error { kind: Builder, source: "JsValue(TypeError: Request constructor: HEAD or GET Request cannot have a body.)" })
To Reproduce
self.auth.login_with_oauth(provider, None).await.unwrap();
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
It seems like JS client doesn't call any endpoint, it just navigates the browser to the [project_url]/authorize with the parameters.
The text was updated successfully, but these errors were encountered: