infomaniak / t3ext-infomaniak-auth
Infomaniak OIDC Provider for TYPO3
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Type:typo3-cms-extension
Requires
- php: ^8.1 || ^8.2 || ^8.3 || ^8.4
- ext-json: *
- firebase/php-jwt: ^6.10
- league/oauth2-client: ^2.7
- typo3/cms-backend: ^11.5 || ^12.4 || ^13.4
- typo3/cms-core: ^11.5 || ^12.4 || ^13.4
README
✨ Fonctionnalités
- 🔐 Authentication via Infomaniak
- 👥 Automatic TYPO3 user account creation
- 🔄 Data sync (email, first name, last name)
- 🏷️ Assignment to TYPO3 user groups
📥 Installation
Requirements
- TYPO3 v12+
- Infomaniak account with a configured Auth app
composer require infomaniak/t3ext-infomaniak-auth
⚙️ Configuration
- Create an Auth application in the Infomaniak Manager
You need an Infomaniak account and must configure an Auth application in the Infomaniak Manager.
Go to the Cloud Computing section and choose the Auth application. Then click on "Create a new application".
Next, fill in the following information:
- What type of app would you like to create? : Choose "Application"
- What name would you like to give your app? : Enter the name of your application
- Specify the permitted redirection URLs for this app: The homepage URL of your TYPO3 site, ending with /oauthcallback (e.g., https://www.myapp.com/oauthcallback)
You can then retrieve the Client ID and Client Secret for your application.
- Configure the extension in the TYPO3 backend:
Once the extension is installed, you need to configure the authentication module.
- Go to Admin Tools > Settings > Extension Configuration
- Select the extension infomaniak_auth
- Configure the extension settings
Client configuration
- In the first tab, provide the following details :
- Client ID: Provided by Infomaniak when creating the application
- Client Secret: Provided by Infomaniak when creating the application
- Client Scopes : Scopes to be used for authentication (default:
openid email profile
)
Authentification Backend
In the second tab, you can configure authentication for the TYPO3 backend.
Authentification Frontend
In the third tab, you can configure authentication for the TYPO3 frontend.
Server configuration
In the last tab, you can configure the various endpoints for the Infomaniak authentication server. You normally shouldn’t need to modify these settings.
Login into TYPO3
Authentification Backend
Once the extension is installed and configured, you can log in to the TYPO3 backend using your Infomaniak account.
- Choose to login with your Infomaniak account.
- Click on the "Login" button.
You will be redirected to Infomaniak’s login page. After authentication, you will be logged into the TYPO3 backend.
Authentification Frontend
To allow users to log in to your website's frontend, you need to add the Infomaniak Auth plugin to a page.
This plugin will display a login button. When the visitor clicks the button, they will be redirected to the Infomaniak login page.
Upon return, they will be logged in to the TYPO3 frontend.