diff --git a/univention-google-apps/umc/js/de.po b/univention-google-apps/umc/js/de.po index 7e921f6..143ab88 100644 --- a/univention-google-apps/umc/js/de.po +++ b/univention-google-apps/umc/js/de.po @@ -163,8 +163,8 @@ msgstr "URL der Abmeldeseite" msgid "Single Sign-On setup" msgstr "Single Sign-On Konfiguration" -msgid "Synchronized users can log into Google Apps for Work by using the link on the UCS overview page." -msgstr "Synchronisierte Benutzer können sich bei Google Apps for Work anmelden, indem Sie den Link auf der UCS Übersichtsseite nutzen." +msgid "Synchronized users can log into Google Apps for Work by using the link on the UCS portal." +msgstr "Synchronisierte Benutzer können sich bei Google Apps for Work anmelden, indem Sie den Link auf dem UCS Portal nutzen." msgid "The Admin SDK API will be used to create user accounts and groups in Googles directory." msgstr "Die Admin SDK API wird benutzt, um Benutzerkonten und Gruppen im Google Verzeichnis zu erstellen." diff --git a/univention-google-apps/umc/js/googleapps.js b/univention-google-apps/umc/js/googleapps.js index 1418367..af62368 100644 --- a/univention-google-apps/umc/js/googleapps.js +++ b/univention-google-apps/umc/js/googleapps.js @@ -254,7 +254,7 @@ define([ widgets: [{ type: Text, name: 'infos', - content: _('Synchronized users can log into Google Apps for Work by using the link on the UCS overview page.') + '
' + this.img(_('google-sso-login.png')) + content: _('Synchronized users can log into Google Apps for Work by using the link on the UCS portal.') + '
' + this.img(_('google-sso-login.png')) }] }, { name: 'error', @@ -373,7 +373,7 @@ define([ getTextSingleSignOnSetup: function() { return '

' + _('To finalize the setup, single sign-on has to be configured for the Google Apps for Work domain.') + '

' + this.formatOrderedList([ _('Open the security settings in the Admin Console to configure the single sign-on settings.'), - lang.replace(_('Download the {certificate_link}.'), {certificate_link: '' + _('UCS Identity Provider certificate') + ''}), + lang.replace(_('Download the {certificate_link}.'), {certificate_link: '' + _('UCS Identity Provider certificate') + ''}), _('Activate the checkbox Setup SSO with third party identity provider in the security settings.'), _('Then upload the certificate as Verification certificate by clicking on CHOOSE FILE and UPLOAD.'), _('As last step the following values needs to be inserted into the input fields as can be seen in the screenshot below:') diff --git a/univention-google-apps/umc/python/googleapps/__init__.py b/univention-google-apps/umc/python/googleapps/__init__.py index 35efc42..4d95afb 100644 --- a/univention-google-apps/umc/python/googleapps/__init__.py +++ b/univention-google-apps/umc/python/googleapps/__init__.py @@ -39,7 +39,7 @@ from univention.management.console.base import Base, UMC_Error, UMC_OptionSanitizeError from univention.management.console.config import ucr -from univention.management.console.modules.decorators import sanitize, simple_response, file_upload +from univention.management.console.modules.decorators import sanitize, simple_response, file_upload, allow_get from univention.management.console.modules.sanitizers import StringSanitizer, DictSanitizer, EmailSanitizer, ValidationError, MultiValidationError from univention.googleapps.auth import GappsAuth, SCOPE, GoogleAppError, AuthenticationError, AuthenticationErrorRetry @@ -84,10 +84,11 @@ def query(self): return { 'initialized': GappsAuth.is_initialized(), 'sign-in-url': 'https://%s/simplesamlphp/saml2/idp/SSOService.php' % (sso_fqdn,), - 'sign-out-url': 'https://%s/simplesamlphp/saml2/idp/SingleLogoutService.php?ReturnTo=/ucs-overview' % (sso_fqdn,), - 'change-password-url': 'https://%s/univention-management-console/' % (fqdn,), + 'sign-out-url': 'https://%s/simplesamlphp/saml2/idp/SingleLogoutService.php?ReturnTo=/univention/' % (sso_fqdn,), + 'change-password-url': 'https://%s/univention/management/' % (fqdn,), } + @allow_get def certificate(self, request): with open(ucr['saml/idp/certificate/certificate'], 'rb') as fd: self.finished(request.id, fd.read(), mimetype='application/octet-stream') @@ -114,7 +115,7 @@ def upload(self, request): self.finished(request.id, { 'client_id': data['client_id'], 'scope': ','.join(SCOPE), -# 'serviceaccounts_link': 'https://console.developers.google.com/permissions/serviceaccounts?project=%s' % (urllib.quote(data['project_id']),) + # 'serviceaccounts_link': 'https://console.developers.google.com/permissions/serviceaccounts?project=%s' % (urllib.quote(data['project_id']),) }, message=_('The credentials have been successfully uploaded.')) @simple_response