cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice

Home Page:https://www.chatwithgpt.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OIDC Integration for User Authentication in Chat-with-GPT App

sir-andreas opened this issue · comments

As a user of the Chat-with-GPT app, I want to add the OpenID Connect (OIDC) functionality to the application to streamline the user authentication process. The intention is to connect it with an identity and access management system like Authelia, allowing the management of logins and derivation of user accounts from it.

Acceptance Criteria:

  • As an admin, I should be able to configure the Chat-with-GPT app to use an OIDC provider (e.g., Authelia) for authentication.
  • As a user, when I open the Chat-with-GPT app, I should be redirected to the OIDC provider's login page if I'm not already authenticated.
  • As a user, once I provide valid credentials on the OIDC provider's login page, I should be redirected back to the Chat-with-GPT app and logged in with the user account derived from the OIDC provider.
  • As a user, if I'm already authenticated with the OIDC provider, I should not be asked to log in again when I open the Chat-with-GPT app.
  • As an admin, the OIDC functionality should be documented in the Chat-with-GPT app's user manual or help section, explaining how to set it up and use it.