Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
consent_config.png 86.3 kB 1 05-Dec-2023 05:32 Ben Spink
png
create_credentials.png 57.5 kB 1 05-Dec-2023 05:32 Ben Spink
png
create_project.png 25.9 kB 1 05-Dec-2023 05:32 Ben Spink
png
credential_config.png 95.2 kB 1 05-Dec-2023 05:32 Ben Spink
png
enable_api.png 107.2 kB 1 05-Dec-2023 05:32 Ben Spink
png
gdrive_oauth_form.png 26.7 kB 1 15-May-2025 05:35 krivacsz
png
get_refresh_token.png 88.9 kB 2 15-May-2025 05:30 krivacsz
png
oauth_consent.png 49.1 kB 1 05-Dec-2023 05:32 Ben Spink
png
test_success.png 115.0 kB 2 15-May-2025 05:45 krivacsz

This page (revision-75) was last changed on 06-Jun-2025 07:49 by krivacsz

This page was created on 05-Dec-2023 05:32 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 4 changed one line
__!!! Proxy Configuration:__ If your server accesses the internet through a proxy, make sure to whitelist the following domains for Google Authentication and Drive access:\\
----
__⚠️ Proxy Configuration:__ If your server accesses the internet through a proxy, make sure to whitelist the following domains for Google Authentication and Drive access:\\
At line 13 added one line
__⚠️ Important:__ Ensure the __Google Drive API__ is enabled at __Enabled APIs & services__. [Google API Library Link|https://console.cloud.google.com/apis/library]\\
At line 13 removed 2 lines
__!!!Note:__ Ensure sure the __Google Drive API__ is enabled at __Enabled APIs & services__. [Google API Library Link|https://console.cloud.google.com/apis/library]\\
\\
At line 21 changed one line
Select the application type: __Web application__. Provide a unique name. Then, configure the __Authorized redirect URI__—this is where Google will redirect you after authorization. The Redirect URL must end with __?command=register_gdrive_api__.\\
• Select the application type: __Web application__.\\
• Provide a unique name to identify your OAuth client (e.g., CrushFTP Integration).\\
Then configure the following:\\
• __Authorized JavaScript origins__: Add the base URL of your CrushFTP server (e.g., https://your-domain.com).\\
• __Authorized redirect URIs__: This is the URL Google will redirect to after successful authorization. The Redirect URL must end with __?command=register_gdrive_api__\\
At line 30 added 2 lines
or
https://your.crushftp.domain.com/?command=register_gdrive_api
At line 27 changed one line
or
----
__⚠️ Important:__ For [CrushOIDC] Plugin the __Redirect URL__ must be added in the following format:
At line 29 changed 3 lines
https://your.crushftp.domain.com/?command=register_gdrive_api
https://www.your.crushftp.com/SSO_OIDC/
At line 38 added 2 lines
It is important that the URL ends with __/SSO_OIDC/__, as required by the [CrushOIDC] integration.\\
----
At line 48 added 4 lines
__⚠️ Note:__ You can configure the __OAuth consent screen__ by clicking the link above the __Authorized JavaScript origins__ section:\\
"The domains you enter in the fields below will be automatically added to your __OAuth consent screen__ as __authorized domains__."\\
Click the link to open the __OAuth consent screen__ settings, complete the configuration, and authorize your __CrushFTP domain.__\\
__Important__: After configuration, don’t forget to click __Publish App__ at __Audience__ page to make it active. Without publishing, the app will remain in __Testing__ mode, which restricts access to authorized test users only.\\
At line 47 changed one line
__!!! Note__: To obtain the __Refresh Token__, the CrushFTP WebInterface’s host and port must match the __Redirect URL__ specified in the __Google APIs & Services__-> __Credentials__ -> __OAuth 2.0 Client IDs__. In our example, it was: http://127.0.0.1:9090 or https://your.crushftp.domain.com/\\
__⚠️ Important__: To obtain the __Refresh Token__, the CrushFTP WebInterface’s host and port must match the __Redirect URL__ specified in the __Google APIs & Services__-> __Credentials__ -> __OAuth 2.0 Client IDs__. In our example, it was: http://127.0.0.1:9090 or https://your.crushftp.domain.com/\\
At line 49 changed one line
Enter the __Client ID__ , __Client Secret__. Proceed with the authentication and authorization process. __!!! Note__: Be sure to sign in with the __Google Account__ that has the __necessary permissions__, as configured in the __Google APIs & Services__-> __Credentials__ -> __OAuth 2.0 Client IDs__. This will automatically configure the __User name__ and __Password__.\\
Enter the __Client ID__ , __Client Secret__. Proceed with the authentication and authorization process.\\
__⚠️ Important__: Be sure to sign in with the __Google Account__ that has the __necessary permissions__, as configured in the __Google APIs & Services__-> __Credentials__ -> __OAuth 2.0 Client IDs__. This will automatically configure the __User name__ and __Password__.\\
At line 64 added 27 lines
If the domain is unverified, a warning message may appear. Click __Advanced__ and choose to proceed:\\
\\
[SMTP Google Mail Integration/not_verified_domain.png]\\
\\
Click on the __Allow__ button:\\
\\
[SMTP Google Mail Integration/allow_form.png]\\
\\
[GDriveSetup/test_success.png]\\
\\
__Enable Team Drive__: Enable this option to allow access to __Shared Drives__ (formerly Team Drives) in Google Drive. When selected, file operations will include content stored in Shared Drives, not just the user’s personal My Drive. This is useful when your organization collaborates using __Google Workspace Shared Drives__.\\
\\
__Keep File ID on Overwrite__: Enable this option to __retain the original file’s ID when overwriting a file__ in Google Drive. Instead of deleting and re-uploading the file (which generates a new ID), the existing file is updated in-place. This ensures that any shared links or references to the file remain valid after an overwrite.\\
\\
__Enable MDTM__: Activates support for the __MDTM__ (Modification Time), which allows clients to set the last modified timestamp of a file after the upload action. This can be useful for synchronization tools and backup software that rely on accurate file timestamps.\\
\\
__Corpora variable name__: It defines the logical __buckets__ of content that Google Drive should search within. It’s especially important in complex Drive environments where you may be working across personal drives, shared drives (Team Drives), or content shared with you by others.\\
Values:\\
- user: Search within the current user’s My Drive.\\
- drive: Search within a specific Shared Drive (must be used with driveId).\\
- allDrives: Search across the user’s My Drive and all accessible Shared Drives.\\
- domain: Search all files in the user’s domain (only works with G Suite / Workspace).\\
\\
Version Date Modified Size Author Changes ... Change note
75 06-Jun-2025 07:49 5.732 kB krivacsz to previous
74 06-Jun-2025 07:47 5.749 kB krivacsz to previous | to last
73 06-Jun-2025 07:46 5.749 kB krivacsz to previous | to last
72 06-Jun-2025 07:45 5.747 kB krivacsz to previous | to last
71 06-Jun-2025 07:40 5.5 kB krivacsz to previous | to last
70 06-Jun-2025 07:39 5.489 kB krivacsz to previous | to last
69 06-Jun-2025 06:39 5.287 kB krivacsz to previous | to last
68 22-May-2025 03:26 5.267 kB krivacsz to previous | to last
67 19-May-2025 10:18 5.268 kB krivacsz to previous | to last
66 19-May-2025 10:06 5.262 kB krivacsz to previous | to last
65 19-May-2025 09:49 5.265 kB krivacsz to previous | to last
64 19-May-2025 09:33 5.266 kB krivacsz to previous | to last
63 19-May-2025 09:31 5.259 kB krivacsz to previous | to last
62 15-May-2025 07:44 5.022 kB krivacsz to previous | to last
61 15-May-2025 07:24 5.027 kB krivacsz to previous | to last
« This page (revision-75) was last changed on 06-Jun-2025 07:49 by krivacsz
G’day (anonymous guest)
CrushFTP11 | What's New
JSPWiki