Page MenuHomePhabricator

Oauth2 with Rust
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

I created an OAuth2 consumer:
https://meta.wikimedia.org/wiki/Special:OAuthManageConsumers/70f9cff79286006878999171321d3ec5

I call the OAuth2 endpoint:
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?response_type=code&response_type=code&client_id=70f9cff79286006878999171321d3ec5&state=<SOMETHING>&redirect_uri=https%3A%2F%2Fgulp.toolforge.org%2Fauth%2Fauthorized&scope=identify

What happens?:

Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method)

What should have happened instead?:
Authorize button for the tool

Event Timeline

Looks like your callback URL does not match what's specified in the consumer details?

Magnus claimed this task.

Thanks, I forgot to check the "URL needs to start with" checkbox...

Aklapper changed the task status from Resolved to Invalid.Feb 7 2023, 6:24 PM
Aklapper removed Magnus as the assignee of this task.