Own SAML Request for third party IdP

Hello everyone,

I want to send SAML Request to not mine IdP but IdP need RequestedAttributes. Do You have some example please?

Thank You very much.

I came up with little progress.
If I want custom SAML IdP, I have to implement own IdentityProvider & IdentityProviderConfig & IdentityProviderFactory. I get that. BUT! Is there any example how to build custom SAML AuthnRequest? There are functions performLogin(), SAML2AuthnRequestBuilder() and addExtension(). I know they are core of my problem but now, I am stuck. Do You have any advice how to continue or example?

@qwestys Hello, maybe you can take some inspiration from the default performLogin method.