Configuring an OAuth authentication module
OpenAM has the concept of authentication modules, which support different ways of authentication, such as OAuth, or against its Data Store, or LDAP or a Web Service. We need to create a new Module Instance for our Facebook OAuth Client.
- Log in to OpenAM console. Click on the Access Control tab, and click on the link to the realm / (Top Level Realm).
- Click on the Authentication tab and scroll down to the Module Instances section. Click on the New button.
- Enter a name for the New Module Instance and select OAuth 2.0 as the Type and click on the OK button. I used the name
Facebook. You will then see a screen as shown:
- For Client Id, use the App ID value provided from Facebook. For the Client Secret use the