Pega4you
1. In Developer Studio , Click on Configure -> Org & Security -> Authentication -> Create Authentication service.
2. Enter the name and select the type as OpenID Connect.
3. Enter GoogleAuthe in Aurhentication service alias.
4. Copy and paste the following in the respective text box.
Authorization endpoint – https://accounts.google.com/o/oauth2/auth
Token endpoint – https://www.googleapis.com/oauth2/v3/token
Userinfo endpoint – https://www.googleapis.com/oauth2/v3/userinfo
5. From the navigation pane, Click on Records -> Security -> Keystore . Right click on Keystore and click create.
6. In Keystore Location, select Reference to URL.
7. In Keystore url textbox,paste the url ( https://www.googleapis.com/oauth2/v3/certs )
8. Select the Keystore type as JSON Web Key (JWK).
9. Go to Google developer console and create an account.
10. Create a new project and then click on Credentials from the left pane.
11. Click on Create credentials from the top and Enter the details.
12. Copy the Client ID and Client Secret from the console.
13. In Authentication Service, under ID Token Processing, Enter Issuer (accounts.google.com) and select the created keystore in Signature truststore.
14. In Search bar, type web-login.
15. In line 287, copy and paste ( <a href="https://localhost:8080/prweb/PRAuth/GoogleAuth"
class="google btn"><i class="fa fa-google fa-fw"></i>Login with Google</a> )