chat-with-gpt
chat-with-gpt copied to clipboard
Support Oauth/SSO
It would be nice if there was a setting to prevent usage without Login.
ff on this
What does that mean?
following
I could successfully setup the application with a wso2 identity server instance by using the auth0 configuration section and adding the token endpoint as the issuer... so maybe this already works for some scenarios?
I was able to setup AzureAD authentication, creating a quick howto in case you want to add it to the README or a separate file.
Azure AD
- Sign in to the Azure Portal
- Search for and select Azure Active Directory
- Select App registrations > New registration
- Enter a display Name
- Choose Web
- Enter https://FQDN/chatapi/login-callback
- Select Overview
- Note of the Application (client) ID and Directory (tenant) ID
- Select Authentication
- Check Access tokens and IT tokens
- Select Certificates & Secrets
- Create a secret and note the value
config.yaml of chat-with-gpt
authSecret: **Secret created in step 11**
auth0:
clientID: **Application (client) ID**
issuer: https://login.microsoftonline.com/**Directory (tenant) ID**/
publicSiteURL: https://FQDN
Someone done it with google oauth2 ?