You will start at the API credentials manager:
https://console.developers.google.com/projectselector/apis/credentials
![](https://www.crushftp.com/crush10wiki/images/out.png)
You first need to make a project. My example calls this CrushFTP-Test.
![attachments](https://www.crushftp.com/crush10wiki/attach/GDriveSetup/create_project.png)
Next select create credentials, and choose the Web Application type.
![attachments](https://www.crushftp.com/crush10wiki/attach/GDriveSetup/create_credentials.png)
![attachments](https://www.crushftp.com/crush10wiki/attach/GDriveSetup/oauth_consent.png)
Configure the Authorized JavaScript origins. Like protocol://dns_or_ip:port. Without a trailing slash or it will complain.
Provide the Redirect URL too. The location where Google sends back the Id token (Id Token : That will be used for the authentication of the google user).
![attachments](https://www.crushftp.com/crush10wiki/attach/CrushOAuth/g_sign_origin_redirect_url.png)
Copy the Client ID that will be required to integrate the Google Sing-In Button.
Integrate Google Sign-In button
![attachments](https://www.crushftp.com/crush10wiki/attach/CrushOAuth/gsign_in_button.png)
Go to the Preferences-> Ip/Servers and select the HTTP or HTTPS port item(OAuth Sign in Tab) where you want to enable the Google Sing-In button. Check the "Enable Google Sign in" flag and provide the Client ID of you Google project(mentioned above).
![attachments](https://www.crushftp.com/crush10wiki/attach/CrushOAuth/port_item_settings.png)
Continue on: CrushOAuth
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This particular version was published on 27-Jun-2023 03:24 by krivacsz.
G’day (anonymous guest)
Log in
JSPWiki