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

Allow passing in direct Oauth2 tokens #79

Open
PythonCoderAS opened this issue Nov 22, 2022 · 2 comments
Open

Allow passing in direct Oauth2 tokens #79

PythonCoderAS opened this issue Nov 22, 2022 · 2 comments

Comments

@PythonCoderAS
Copy link

I am using frontend JS to authenticate with OAuth2 via PKCE, and so I can't use the existing oauth options. I am able to get the bearer token and make authenticated requests with that, but I do not know how to supply the bearer token with this library. I understand this will have to be per-request but there still is no option for that.

@maxlath
Copy link
Owner

maxlath commented Nov 22, 2022

I could try to have a look at it. Could you point to documentation on how to get such an OAuth2 token? Do you use it on wikidata.org or on another Wikibase instance with a particular OAuth extension?

@PythonCoderAS
Copy link
Author

PythonCoderAS commented Nov 23, 2022

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