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

Support for OAuth2 #284

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Support for OAuth2 #284

wants to merge 2 commits into from

Conversation

Louson
Copy link

@Louson Louson commented Jan 15, 2023

Hello, here is a suggestion for the OAuth2 support. There is an intermediate commit to add the API userinfo as this is the example given by

Related to issue #89

It might not exactly sure it does fit to your coding style, but maybe you can help on this ?

I am not sure neither how this can be automatically tested. Here is a script I have made for tests: https://privatebin.net/?c2c1cd266e29aff2#22qmxEqCGs3Wi9fbbLW61NxxKsYeCSsb2zbs3pNo7bn3

Thanks,

Louson and others added 2 commits January 15, 2023 22:13
Add 'userinfo' to valid includes and require authentication for it.
OAuth2 API is described in the MusicBrainz documentation. It offers the ability
to fetch a token, revoke it or refresh from the refresh token.

Note that the API answers in JSON only.
@Louson Louson changed the title Dev/oauth2 Support for OAuth2 Jan 15, 2023
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.

1 participant