We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NetworkError(reqwest::Error { kind: Builder, source: "JsValue(TypeError: Request constructor: HEAD or GET Request cannot have a body.)" })
self.auth.login_with_oauth(provider, None).await.unwrap();
A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
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:
The login_with_oauth method returns the url and provider so that API consumers can decide how and when to implement the redirect.
login_with_oauth
url
provider
This is the way it's handled in the official Python library, for example
Sorry, something went wrong.
No branches or pull requests
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: