Can't authorize

Environment

Discourse Version: 2026.1.0-latest

Plugin Commit: 39a6736

Steps to Reproduce

Attempting to authorize using oauth_3 against Forgejo server.

Testing with https://oauthdebugger.com works.

When clicking the Authorize button, Firefox devtools attempts to GET https://hots/admin/wizards/apis/create_onboarding_ticket/authorize

But according to routes.rb, the proper path is admin/wizards/api/:name/authorize. Notice api versus apis.

I created a PR for you to review here Replace /apis with /api to match routes.rb. by openbrian · Pull Request #307 · paviliondev/discourse-custom-wizard · GitHub

Example

https://coop.pavilion.tech/

Privacy reasons.

Logs

See dev tools. Call to authorize endpoint returns 404.