Adding some standard OpenID Connect providers (Google, Facebook) (WIP):

* refactoring, to allow several OIDC singletons
* settings for google and facebook
* backend code
This commit is contained in:
John Livingston
2024-04-22 13:03:31 +02:00
parent 4bc2d4fd51
commit 024186ba2c
16 changed files with 341 additions and 142 deletions

View File

@ -401,8 +401,8 @@ login_using_external_account: Mit einem externem Account anmelden
external_auth_custom_oidc_label: Verwenden eines OpenID Connect Anbieters
external_auth_custom_oidc_button_label_label: Name für die Anmeldungsschaltfläche
external_auth_custom_oidc_discovery_url_label: Discovery URL
external_auth_custom_oidc_client_id_label: Client ID
external_auth_custom_oidc_client_secret_label: Client secret
external_auth_oidc_client_id_label: Client ID
external_auth_oidc_client_secret_label: Client secret
external_auth_custom_oidc_title: <h4>OpenID Connect</h4>
external_auth_custom_oidc_button_label_description: Diese Bezeichnung wird den Nutzern
als Name der Schaltfläche zur Authentifizierung bei diesem OIDC-Anbieter angezeigt.
@ -414,6 +414,6 @@ external_auth_description: "<h3>Externe Authentifizierung</h3>\nFür Benutzer, d
kein Peertubekonto haben, können Sie verschiedene Authentifizierungsmodi auf der
Grundlage von externen Authentifizierungsanbietern aktivieren.\n"
login_external_auth_alert_message: Authentifizierung fehlgeschlagen
external_auth_custom_oidc_redirect_uris_info_description: "<strong>Callback/Redirect
external_auth_oidc_redirect_uris_info_description: "<strong>Callback/Redirect
URI:</strong>\nWenn Sie eine autorisierte Umleitungs-URI für die externe Anwendung
konfigurieren möchten, fügen Sie bitte diese URL hinzu:\n"

View File

@ -83,12 +83,21 @@ external_auth_custom_oidc_button_label_label: "Label for the connection button"
external_auth_custom_oidc_button_label_description: "This label will be displayed to users, as the button label to authenticate with this OIDC provider."
external_auth_custom_oidc_discovery_url_label: "Discovery URL"
external_auth_custom_oidc_client_id_label: "Client ID"
external_auth_custom_oidc_client_secret_label: "Client secret"
external_auth_custom_oidc_redirect_uris_info_description: |
external_auth_oidc_client_id_label: "Client ID"
external_auth_oidc_client_secret_label: "Client secret"
external_auth_oidc_redirect_uris_info_description: |
<strong>Callback/Redirect URI:</strong>
If you want to configure authorized redirection URI on the external Application, please add this url:
external_auth_google_oidc_label: 'Use Google'
external_auth_google_oidc_description: |
Enabling this adds a "login with Google" button.
You have to configure a Google OAuth application.
external_auth_facebook_oidc_label: 'Use Facebook'
external_auth_facebook_oidc_description: |
Enabling this adds a "login with Facebook" button.
You have to configure a Facebook OAuth application.
chat_behaviour_description: "<h3>Chat behaviour</h3>"
room_type_label: "Room type"

View File

@ -2,8 +2,8 @@ login_remote_peertube_video_not_found_try_anyway_button: Svejedno pokušaj otvor
video na Peertube instanci
external_auth_custom_oidc_button_label_label: Oznaka za gumb povezivanja
external_auth_custom_oidc_discovery_url_label: Discovery URL
external_auth_custom_oidc_client_id_label: ID klijenta
external_auth_custom_oidc_client_secret_label: Tajna klijenta
external_auth_oidc_client_id_label: ID klijenta
external_auth_oidc_client_secret_label: Tajna klijenta
videos_list_label: Aktiviraj chat za ova videa
prosody_peertube_uri_label: Peertube URL za API pozive
save: Spremi