This repo contains Java example apps that demonstrate the various OpenId Connect flows
OpenId Connect is a great way to add user authentication to your application where you are depending on another party to manage the user identities.
In this case mIDentity Box can manage the identity of your users making it faster to get up and running.
By implementing OpenId Connect via mIDentity Box you are creating a session which can be used to single sign on from your custom app into other apps that your users may have access to via the mIDentity Box portal
If MFA is enabled for a user in mIDentity Box then they will be prompted to enter a token during the authentication. mIDentity Box takes care of all of this for you, making strong authentication much easier to implement in your app.
In order to run any of the examples you will need to create an OpenId Connect app in mIDentity Admin portal.
If you don't have a mIDentity Box account you can sign up here.