Publisher supports OpenID Connect as an additional IdP (Identity Provider) that can handle user identification based on e-mail.
The basic workflow is as follows:
When no matching user is found, the login attempt fails.
Every OAuth IMS has an internal list of Applications that it knows about, and it offers identification services to. Your Publisher instance needs to be registered here. Typically, the configuration parameters are:
Demo Publisherhttps://publisher.orbitgt.compublisher.orbitgt.comhttps://publisher.orbitgt.com/viewer/assets/oauth-flow-callback.htmlopenid email profile
The following settings need to be added to the publisher_3dm/configuration.ini file.
Replace <code> with an internal code for the service you are declaring.
login.<code>.name – A user-friendly name to use in the Console.login.<code>.client_id – The identifier of the Client you registered in the previous step.login.<code>.oidc_service_url – The top-level URL of the OIDC Service.login.<code>.login_button – The label of the login button.login.<code>.scopes) – The optional scopes to request (default is openid email).
Manage your OAuth2 Credentials (for a Web Application) here: https://console.cloud.google.com/apis/credentials
Manage your Consent Screen configuration here: https://console.cloud.google.com/apis/credentials/consent
Google requires a client to pass a secret, although this is not necessary when using PKCS. This is a known issue.
oauth.<code>.client_secret – The secret of the Client is required for Google.