Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use ForceAuthn attribute in the Authn request #132

Open
ChananM opened this issue Jun 12, 2023 · 0 comments
Open

Can't use ForceAuthn attribute in the Authn request #132

ChananM opened this issue Jun 12, 2023 · 0 comments

Comments

@ChananM
Copy link

ChananM commented Jun 12, 2023

I'm trying to use the client for identity provider redirection, and force authentication in the provider
What I need is to add ForceAuthn="true" to the saml2p:AuthnRequest tag, but I don't see any way to do it in the client. I'm using the client as follows:

SamlClient client = new SamlClient(relyingPartyIdentifier assertionConsumerService, identityProviderUrl, responseIssuer, certs, SamlClient.SamlIdpBinding.POST); 
client.getSamlRequest();
client.redirectToIdentityProvider(response, customerId);

And I can see the ForceAuthn attribute exists in the lib code, but I didn't find how to use it

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant