modrinth/code

Error 500 on Authorized apps

Opened this issue · 0 comments

Please confirm the following.

What browsers are you seeing the problem on?

Chrome (including Arc, Brave, Opera, Vivaldi)

Describe the bug

Internal server error on https://modrinth.com/settings/authorizations if it have at least one authorized app

Steps to reproduce

  1. Go to https://staging.modrinth.com/settings/applications and create an app with the "Read user email" scope and the https://example.com redirect URI
  2. Go to https://staging.modrinth.com/auth/authorize?response_type=code&client_id=AaBbCcDd&scope=USER_READ_EMAIL&redirect_uri=https://example.com, (replace AaBbCcDd with your app id!) and authorize the app
  3. Go to https://staging.modrinth.com/settings/authorizations and see the error

Expected behavior

No error

Additional context

It seems to fail on the /_internal/oauth/apps?ids=AaBbCcDd query:
Error while validating input: Query deserialize error: invalid type: string \"AaBbCcDd\", expected a sequence