Connman: How do I connect to eduroam?

I want to connect to eduroam using connman (with cmst GUI), so I go to “Wireless”, select the eduroam network and hit “Connect”. In the case of other networks like phone hotspot I would be asked to enter the passphrase, but now I get a “CMST Warning” window saying:

Error Name: net.connman.Error.InvalidArguments
Error Message: Invalid arguments

What’s going on? How do I configure eduroam in connman?

Have a look at the archived forum. This post is marked as the solution, but there are other posts on using eduroam on the archived forum as well, so you may need to do some searching for your specific problem there.