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
»oidc_crushftp_related_settings... 137.0 kB 1 09-Jan-2025 07:29 krivacsz
png
»oidc_dmz_plugin_settings.png 141.0 kB 2 09-Jan-2025 23:13 krivacsz
png
»oidc_dropbox_settings.png 58.1 kB 1 19-May-2025 05:22 krivacsz
png
»oidc_gdrive_settings.png 71.2 kB 1 19-May-2025 05:25 krivacsz
png
»oidc_general_plugin_settings.p... 39.3 kB 1 09-Jan-2025 07:32 krivacsz
png
»oidc_gstorage_settings.png 67.4 kB 1 19-May-2025 05:51 krivacsz
png
»oidc_idp_related_plugin_settin... 176.0 kB 3 09-Jan-2025 23:17 krivacsz
png
»oidc_login_buttons.png 59.4 kB 1 09-Jan-2025 07:50 krivacsz
png
»oidc_onedrive_settings.png 71.6 kB 1 19-May-2025 04:24 krivacsz
png
»oidc_redirect_base_setting.png 37.0 kB 1 05-Feb-2025 03:55 krivacsz
png
»oidc_sharepoint2_settings.png 74.6 kB 1 19-May-2025 05:18 krivacsz

This page (revision-386) was last changed on 19-May-2025 10:27 by krivacsz

This page was created on 06-Jan-2025 23:39 by krivacsz

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
__!!! Constraints__: It only works through __HTTP__ or __HTTPS__ protocol. __Authorization Code Flow__ is supported (Implicit Flow or Hybrid Flow are not supported). It requires __Enterprise License__.\\
__!!!Important__: Ensure that all {{''__(Required)__''}} fields are properly configured as outlined on this wiki page.\\
At line 6 added 8 lines
__!!! Constraints__:\\
• It only works through __HTTP__ or __HTTPS__ protocol.\\
• __Authorization Code Flow__ is supported (Implicit Flow or Hybrid Flow are not supported).\\
• It requires __Enterprise License__.\\
• In __Preferences → Misc__, set the “__HTTP Redirect Base__” value to empty, as the default is “__DISABLED”__.{{''__(Required)__''}}\\
\\
[oidc_redirect_base_setting.png]\\
\\
At line 7 changed 4 lines
The plugin requires the following IdP information and configuration:\\
• Client ID\\
• Client Secret: Authorization Code Flow requires it.\\
• Redirect URL: The redirect URL is the endpoint in your IdP application where the IdP directs the user after successful authentication. This URL receives the authorization code or access token as part of the authentication process. The redirect URL must target the CrushFTP server and conclude with __/SSO_OIDC/__. Like:\\
The plugin requires the following information and configurations from the IdP's __App Registration__:\\
• __Client ID__\\
• __Client Secret__: Authorization Code Flow requires it.\\
• __Redirect URL__: The redirect URL is the endpoint in your IdP application where the IdP directs the user after successful authentication. This URL receives the authorization code or access token as part of the authentication process. The redirect URL must target the CrushFTP server and conclude with __/SSO_OIDC/__. Like:\\
At line 15 changed one line
Google: [https://support.google.com/googleapi/answer/6158849]\\
__Apple__: Apple Sign-In requires different plugin settings because the client secret is generated using the private key, Key ID, and Team ID.\\
At line 17 changed one line
!!!2. Plugin Configuration\\
[Apple Sign In Configuration/apple_oidc_config.png]\\
__!!!See details at__: [Apple Sign In Configuration]\\
At line 28 added 11 lines
__Google__: Refer to the App registration section under: [SMTP Google Mail Integration] ensure the redirect URL is described above.\\
\\
__Microsoft__: Refer to the App registration (Ondrive Personal) section under: [OneDriveSetup] ensure the redirect URL is described above.\\
__Microsoft B2C__: Refer to the App registration section under: [Azure Active Directory B2C Configuration] ensure the redirect URL is described above.\\
\\
__Amazon Cognito__: Refer to the App registration section under: [Amazon Cognito Configuration] ensure the redirect URL is described above.\\
\\
__Dropbox__: Refer to the App registration section under: [Dropbox Integration] ensure the redirect URL is described above.\\
\\
!!!2. Plugin Configuration\\
At line 27 changed 2 lines
This HTTP URL is part of the OpenID Connect (OIDC) Discovery mechanism. It follows a standard called __RFC 5785__ ([https://datatracker.ietf.org/doc/html/rfc5785]), which defines the use of __.well-known__ URIs for discovering metadata about services. It queries this HTTP endpoint to configure itself dynamically, avoiding hard-coded values. The retrieved JSON document includes important endpoints and details like:\\
• Authorization endpoint\\
This HTTP(S) URL is part of the OpenID Connect (OIDC) Discovery mechanism. It follows a standard called __RFC 5785__ ([https://datatracker.ietf.org/doc/html/rfc5785]), which defines the use of __.well-known__ URIs for discovering metadata about services. It queries this HTTP(S) endpoint to configure itself dynamically, avoiding hard-coded values. The retrieved JSON document includes important endpoints and details like:\\
• Authorization endpoint {{''__(Required)__''}}\\
At line 56 added one line
Apple: https://appleid.apple.com/.well-known/openid-configuration
At line 47 changed one line
You can reference a __local JSON file__ if the identity provider (IdP) does not support OpenID Connect but does support __OAuth 2.0__ (like Box cloud storage). Instead of specifying an HTTP URL, provide the path to a local JSON file, such as:\\
You can reference a __local JSON file__ if the identity provider (IdP) does not support OpenID Connect but does support __OAuth 2.0__ (like Box Cloud Storage). Instead of specifying an HTTP URL, provide the path to a local JSON file, such as:\\
At line 52 changed one line
The JSON file should include the __authorization endpoint__. Example for Box cloud storage:
The JSON file should include the __authorization endpoint__ {{''__(Required)__''}}. Example for Box cloud storage:
At line 62 changed one line
__Client ID__: Provide the Client ID (the unique identifier) of your IdP.\\
__Client ID__: Provide the Client ID (the unique identifier of your IdP's App registration) of your IdP.\\
At line 86 changed one line
__Get Refresh Token__: It is used to access the user's cloud storage through the IdP. It adjusts the __Authorization URL__ by appending the following parameters:\\
__Get Refresh Token__: It is used for access the user's cloud storage through the IdP. It adjusts the __Authorization URL__ by appending the following parameters:\\
At line 100 changed one line
__Microsoft__ does not require additional scopes for this purpose. Ensure that the __App Registration__ includes the __"Files.ReadWrite.All"__ permission, configured as either Delegated or Application. More info at [SharePoint Integration].\\
__Microsoft Azure App Registration__ does not require additional scopes for this purpose. Ensure the __App Registration__ includes the __"Files.ReadWrite.All"__ permission, configured as either Delegated or Application. More info at [SharePoint Integration].\\
At line 138 added 6 lines
__Special Case for Microsoft Azure AD:__ When using __Microsoft Azure AD__ as the Identity Provider (IdP), a specific user endpoint is required to retrieve group information for the authenticated user:\\
{{{
https://graph.microsoft.com/v1.0/me
}}}
In this scenario, the plugin makes __an additional API call to this endpoint__ to fetch the user's __group membership__ details. The App registration must include the __Group.Read.All__ permission to enable access to group information.\\
\\
At line 165 changed one line
([User Manager] defines user's access.) -> If users already exist in CrushFTP's User Manager, you can use the CrushOIDC plugin __just for authentication__.
It is useful when user accounts are already defined and managed within CrushFTP's [User Manager], you can leverage the CrushOIDC plugin to authenticate users against external Identity Providers. This allows existing users to utilize OIDC for login while maintaining their existing user accounts and access privileges as defined within CrushFTP.\\
At line 218 changed one line
[VFS] related settings. You can configure a custom [VFS] for CrushOAIDC users.\\
[VFS] related settings. You can configure a custom [VFS] for CrushOIDC users.\\
At line 251 added 6 lines
Custom VFS example using plugin settings and refresh token from OpenID connect:\\
{{{GDrive: gdrive://{oidc_client_id}~{oidc_client_secret_decoded}:{oidc_refresh_token}@www.google.com/}}}\\
It requires the scope:__https://www.googleapis.com/auth/drive__\\
\\
{{{ OneDrive: onedrive://{oidc_client_id}~{oidc_client_secret_encoded}:{oidc_refresh_token}@graph.microsoft.com/}}}\\
{{{DropBox: dropbox://{oidc_client_id}~{oidc_client_secret_decoded}:{oidc_refresh_token}@api.dropboxapi.com/ }}}\\
At line 258 added 15 lines
!3. DMZ\\
\\
[CrushOIDC/oidc_dmz_plugin_settings.png]\\
\\
The DMZ's CrushOIDC plugin has a slightly different UI because IdP user validation is handled exclusively on the internal node. To function properly, the __DMZ must replicate the internal node's settings__ for the following parameters:\\
\\
• Plugin name\\
• OpenID Configuration URL\\
• Client ID\\
• Client Secret (Optional): Only if it is required for the authorization url.\\
• Authorization URL\\
• Scope\\
• Get Refresh Token\\
• Login button text\\
\\
Version Date Modified Size Author Changes ... Change note
386 19-May-2025 10:27 22.102 kB krivacsz to previous
385 19-May-2025 10:25 22.096 kB krivacsz to previous | to last
384 19-May-2025 10:24 22.105 kB krivacsz to previous | to last
383 19-May-2025 10:22 22.106 kB krivacsz to previous | to last
382 19-May-2025 10:17 22.094 kB krivacsz to previous | to last
381 19-May-2025 10:17 22.076 kB krivacsz to previous | to last
« This page (revision-386) was last changed on 19-May-2025 10:27 by krivacsz
G’day (anonymous guest)
CrushFTP11 | What's New
JSPWiki