Skip to main content

Google

POST 

/external/googleauth

Request an access token on behalf of a Google user. To use this functionality you must add your games Client ID, Secret and Redirect URI from Google, to the Game Admin > Settings page of your games profile on mod.io. A Successful request will return an Access Token Object. * HINT: If you want to overlay the mod.io site in-game on Android, we recommend you add ?portal=google to the end of the URL you open which will prompt the user to login with Google. See Web Overlay Authentication for details.

Request

Error Codes

Status CodeError RefDescription
40011053Google authentication settings have not been configured. Please contact support for assistance.
40111054mod.io was unable to validate the credentials with Google's servers.
40311074The user has not agreed to the mod.io Terms of Use. Please see terms_agreed parameter description and the [Terms](/restapi/docs/terms) endpoint for more information.
40317053The user account associated with this email is locked. Please contact support for assistance.

Responses

Successful Request