Identity Providers don't send attributes to Service Providers without any good reason. Sweden is a member of the European Union and within the union there are strict rules on storing, transfer and process personal data. All attributes in the attribute release is to consider as personal data and therefore Identity Providers are careful.
The best way for a Service Provider to get the needed attributes is to request to the registering federation, i.e. SWAMID, to add entity categories to their metadata. For more information about entity categories please see?4.1 Entity Categories for Service Providers.
The best way to create a page for?required attributes missing is to do this within the webservice but sometimes this is not possibly and then you should use the capabilities of your SAML Service Provider software. For example in Shibboleth Service Provider you can use?Shibboleth SP attribute checker.