PaperMC / Velocity

The modern, next-generation Minecraft server proxy.

Home Page:https://papermc.io/software/velocity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

authlib+velocity+paper 1.20.6,player join server: Invalid signature for profile public key.

BiteMeIfYouCan opened this issue · comments

Using authlib, Velocity, and paper-1.20.6-137

According to the existing information:

In the server.properties file:

enforce-secure-profile = false

In paper-global.yml, configure the following:

velocity:
  enabled: false
  online-mode: false
  secret: wGJH1DvOZrLg

In velocity.toml, configure the following:

player-info-forwarding-mode = "legacy"
prevent-client-proxy-connections = false

However, when connecting to the server,server: "Invalid signature for profile public key."

When I set online-mode to false in velocity.toml, I can enter the server normally, but then I cannot use authlib.

commented

why are you using legacy mode?

This is generally down to the backend server having 0 forwarding setup and thus the UUID being wrong, causing it to not match the key that the profile signature expected