How to register AwareIM application in Google
In order to allow users to login via Google you need to register your AwareIM application with Google. In order to do this:
- Go to the URL https://code.google.com/apis/console
- Create a new application
- When specifying redirect URI for the application enter the following URI:
http://yourservername:8080/awareim/req.awggl2
You can use localhost instead of the server name when testing your application.
When specifying “redirect URI” of the application enter the following URI:
http://YourServerName:8080/AwareIM/req.awggl2
- Copy client id and secret that Google should assign to your application – you will need these when setting up login options (see How to set up Login via Facebook, Twitter and Google section)
- If using synchronization with the Google Calendar make sure that access to the calendar API is allowed!
When users login to your AwareIM application they should use the following URL:
http://YourServerName:8080/AwareIM/logon.awggl?domain=YourBusinessSpaceName&testingMode=false