There is a flow in OAuth called the "Resource Owner Password Credential Grant"
One workaround is to use this flow to send the credentials, and return a session cookie. You will need the latest oxAuth build to do this, because we just added some small things to enable this. This oxAuth should be available in 4.0.1.
See this document for a guide on how to do it:
[https://github.com/GluuFederation/docs-ce-prod/blob/4.1/docs/source/tutorials/session-in-password-grant-flow.md](https://github.com/GluuFederation/docs-ce-prod/blob/4.1/docs/source/tutorials/session-in-password-grant-flow.md)
But.... with that said... let me add that sending the credentials from your web application is **terrrible** for security. The reason the IDP wants to render the login page is so the application never sees the password. Actualy, this ROPW flow is the **anti-pattern** of federated identity.
Also, if you are trying to implement an email token flow, this would be handled much better by customizing the IDP login pages.
My sincere advice is that you avoid this flow where you send the password!