Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Data Type

Mandatory

Example

Description

Name

String

(tick)

Google

The name of the external provider

Description

String

Enables user to login with their Google accounts

Description of the external provider

Description name key

Translation Key

Customer.ExternalIdentityProvider.Google.Description

A translation key to translate the description in different languages

Display name

String

Google

Used to display the external identity provider to users

Display name key

String

Customer.ExternalIdentityProvider.Google.Displayname

A translation key to translate the display name in different languages

Icon

Drop Down

(tick)

Google

Choose any of the available logos

State

Drop Down

(tick)

Active

Usually active or inactive

Option type

Drop Down

(tick)

GoogleOAuthProviderOptions

Depending on the external providers technology:

  • GenericCustomOAuthOptions

  • GenericOpenIdConnectOptions

  • GenericCustomWsFederationOptions

  • SwissIdOAuthOptions

  • GoogleOAuthProviderOptions

  • FacebookOAuthProviderOptions

  • GenericSamlOptions

Unless stated otherwise, they represent ASP.NETCore Connection Options. For further details see their appropriate documentation such as https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authentication.openidconnect.openidconnectoptions?view=aspnetcore-6.0

Configuration

String

Code Block
languagejson
{
  "clientId": "9920356573-3ksmjore7esuiq7p17dh06vpm4a.apps.googleusercontent.com",
  "clientSecret": "xxaeraaF8adsljfkclajf"
}

A simple example for the GoogleOAuthProviderOptions where you only have to add the clientId and clientSecret

Authentication scheme

String

(tick)

google

This name will be used in the callback url i.e. https://idp.coreone.ch/callback/google

Trusted address

String

(tick)

https://accounts.google.com/

Those addresses will be added to the Content Security Policy in order to allow a form submit to and from those pages.

Automatically link user account

Boolean

(tick)

When a user can be merged with an existing user, this boolean indicates whether or not the user should be asked to do so.

...