OpenID roles is not assigned when logging in

I’m trying to set up an OpenID login so that the user is automatically assigned a role, for example, Federation, but this role is not assigned when logging in, what could be the problem?

Try using the Forced roles instead, since that’s what forces the role when a user authenticates with this provider.