问题
Using java client, I have generated the SAMLRequest string
Is there a way to post the whole data, and skip the IdentityServer login page?
With the data which I pass, has to meet the authentication for SSO and then generate Oauth2Token.
回答1:
You can use request path authentication and send the username, password in the same request, which will give you the SAML assertion. You can later use SAML2 bearer grant type to exchange that assertion to an oauth token.
来源:https://stackoverflow.com/questions/40932541/wso2is-skip-authenticationendpoint-login-do