Can we create a Custom login page for application using OAuth
My queries are twofold
I have onboarded an application(for Client) in my IAM environment for Oauth authentication. A default page has been created which I have tested and noticed that code has been passed in URL using authentication.
But now client has requested us to create a customized page for the same application
So my question is:
1. Can it be done. If yes, what would be the best way to do it?
2. I tried to apply some fix got a custom page for the application but now I have noticed that during testing the application the code is not being passed in the URL.
Kindly suggest me on the above issue.
You can use the Access Gateway to proxy the request. In the proxy, you can specify which contract you would like to use:
GCA Technology Services
You can use the parameter acr_values to the Authorization Code request in order to execute the contract of your choice and hence customized login page.
If client request contains acr_values parameter, Identity Server maps the value to configured contracts in Identity Server and prompts the user with the contract if the user is not already authenticated with the contract. The contract is not sent in ID token in this release.