Access & Security
Authentication Providers
Google authentication
this is a step by step guide on configuring google authentication in factry historian step 1 creating a project in google cloud go to https //console cloud google com and create a new project or open an existing one step 2 oauth consent screen open the menu on the top and click on oauth consent screen under apis and services step 3 allow oauth login select user type internal to allow authentication of users configured within your google organization and click create step 4 fill in app details fill in the app information for the oauth consent screen and leave the scopes step empty step 5 create credentials open the credentials menu on the left and click create credentials on top select oauth client id step 6 select application type select web application under application type step 7 fill in authorized origins fill in the fully qualified domain name into authorized javascript origins on which the factry historian web application is reachable e g https //historian mycompany local this should be the exact same url as configured under configuration > server settings > general > baseurl in factry historian under authorized redirect uri fill in the base url + /api/auth/name/callback and replace name with the name you will give the authentication provider you will configure in factry historian e g if you name it mygoogle, the redirect uri is https //historian mycompany local/api/auth/mygoogle/callback finally click create step 8 get credentials note the client id and client secret step 9 factry historian configuration go to the administration interface of factry historian and go to configuration > server settings > authentication providers and click the create provider button fill in the name, client id and client secret from the previous steps and click save step 10 create users in factry historian in order to allow users to use google authentication you will need to create users in factry historian with a username equal to their google login