website/integrations/chat-communication-collaboration/chatgpt/index.mdx
import TabItem from "@theme/TabItem"; import Tabs from "@theme/Tabs";
ChatGPT is OpenAI's conversational AI platform that provides chat-based assistance across the web and desktop applications.
The following placeholders are used in this guide:
authentik.company is the FQDN of the authentik installation.:::info This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. :::
You can configure ChatGPT to use either OIDC or SAML; this guide explains both options.
<Tabs defaultValue="oidc" values={[ { label: "OIDC", value: "oidc" }, { label: "SAML", value: "saml" }, ]}> <TabItem value="oidc">
To support the integration of ChatGPT with authentik, you need to create an application/provider pair in authentik.
Log in to authentik as an administrator and open the authentik Admin interface.
Navigate to Applications > Applications and click Create with Provider to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
Strict redirect URI to https://temp.temp.Click Submit to save the new application and provider.
:::info Domain verification required ChatGPT only enables the Manage SSO wizard after you verify ownership of your domain in the ChatGPT admin console. Refer to the OpenAI Domain Verification documentation for more details . :::
authentik).sub, email, given_name, and family_name). These are provided by authentik's default OIDC property mappings when the email and profile scopes are enabled.https://authentik.company/application/o/<application_slug>/.well-known/openid-configurationTo support the integration of ChatGPT with authentik, you need to create an application/provider pair in authentik.
Log in to authentik as an administrator and open the authentik Admin interface.
Navigate to Applications > Applications and click Create with Provider to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
https://temp.temp (you will update this after completing the ChatGPT configuration).Click Submit to save the new application and provider.
:::info Domain verification required ChatGPT only enables the Manage SSO wizard after you verify ownership of your domain in the ChatGPT admin console. Refer to the OpenAI Domain Verification documentation for more details . :::
authentik).authentikhttps://authentik.company/application/saml/<application_slug>/sso/binding/redirect/https://authentik.company/application/saml/<application_slug>/slo/binding/redirect/To verify that authentik is correctly integrated with ChatGPT, log out, then attempt to log back in by entering your email address and clicking Continue. You should be redirected to authentik and upon a successful login, redirected back to ChatGPT.