Sample application which shows customized pages to the end-users during the authorization flow.
Application includes a JavaScript library which is available in all IAM environments in the following location:<AM_HOST>/resources/iam_authorization-2.0.0.js.
Clients can also develop custom application and call the JS library to implement the flow.
- Create an OAuth2.0 Client with IAM and provide the ID in
client_idattribute of src/main/resources/static/iam-renderui.js. REDIRECT_URIof the OAuth2.0 Client created should also be mentioned in src/main/resources/static/iam-renderui.js.- Set
AM_HOSTvariable pointing to IAM Authorize deployment url while deploying the application. - Launch the application using {{ applicationURL }}/customerapplication.