Access & Security
...
Google OAuth
Troubleshooting Google OAuth authentication
no reply address provided either the redirect uri is incorrect, the baseurl is misconfigured, or factry historian was not restarted after the baseurl was changed error redirect uri mismatch the redirect uri configured in google cloud does not match the one registered in factry historian verify in google cloud console → apis & services → credentials → oauth client id → authorized redirect uris , confirm the value matches exactly the historian baseurl + /api/auth/\<providername>/callback in factry historian → configuration → server settings → general → baseurl , confirm it matches your public https url restart factry historian if you changed the baseurl error invalid client / invalid client secret the client id or secret copied into historian do not match those in google cloud re copy both values from google cloud and update them in historian → authentication providers error invalid request the oauth consent screen was not completed or not published in google cloud console → oauth consent screen , verify that the app is published the user type ( internal / external ) matches your organization’s needs blank page after google login the historian web ui fails to receive the callback possible causes https not correctly configured proxy not forwarding headers ( x forwarded proto ) baseurl mismatch → confirm historian is reachable over valid https and the baseurl is identical to the external url user logs in but sees “access denied” historian found the user but no permissions were granted ensure the user exists in historian with a username exactly equal to the google login (usually the email address) add the user to the appropriate groups in historian error 400 invalid request or unauthorized client the consent screen or credentials are incomplete confirm the app in google cloud has a published oauth consent screen and a valid client id/secret delete and recreate the oauth client id if the configuration seems corrupted browser shows certificate warning or mixed content error historian must be served over https for google oauth to work install a valid tls certificate for your historian domain avoid using ip addresses or localhost urls in redirect uris user not found in historian historian does not auto create users add the user manually in historian → users → create user , with a username equal to their google email address don't spot your error? contact factry support