DocsGPT
DocsGPT copied to clipboard
authentik Authentification
Basically authentik to handle authentification.
https://github.com/goauthentik/authentik
can explain little bit more about issue?
Basically create authentification for the application. Currently there is no auth. On demo we are using clerk.dev, which is quite easy to implement. But I think people will benefit from proper auth.
Basically need to primarily work on the frontend folder I think.
If this issue is open I can work upon it
Would be great, please do, ill assign it to you for now
hey @dartpain i saw there is nothing yet from code or UI to sign in or sign up in dev mode in frontend folder ...am i correct? And also which type of auth should i use ..github or google and how can i get their api keys ...i shouldn't be using my personal ones ig
hey @dartpain i saw there is nothing yet from code or UI to sign in or sign up in dev mode in frontend folder ...am i correct? And also which type of auth should i use ..github or google and how can i get their api keys ...i shouldn't be using my personal ones ig
@dartpain @aaditya9899 Dear all, any updates on authentication function development?
hey @dartpain i saw there is nothing yet from code or UI to sign in or sign up in dev mode in frontend folder ...am i correct? And also which type of auth should i use ..github or google and how can i get their api keys ...i shouldn't be using my personal ones ig
@dartpain @aaditya9899 Dear all, any updates on authentication function development?
Hey @jamsnrihk ,Yeah I was working upon it just stuck on that doubt so couldn't continue...
@aaditya9899 https://github.com/aaditya9899 which API key you need? clerk.com API key?
On Wed, 18 Oct 2023 at 12:47, aaditya9899 @.***> wrote:
hey @dartpain https://github.com/dartpain i saw there is nothing yet from code or UI to sign in or sign up in dev mode in frontend folder ...am i correct? And also which type of auth should i use ..github or google and how can i get their api keys ...i shouldn't be using my personal ones ig
@dartpain https://github.com/dartpain @aaditya9899 https://github.com/aaditya9899 Dear all, any updates on authentication function development?
Yeah I was working upon it just stuck on that doubt so couldn't continue...
— Reply to this email directly, view it on GitHub https://github.com/arc53/DocsGPT/issues/369#issuecomment-1767633246, or unsubscribe https://github.com/notifications/unsubscribe-auth/A76VNQROFK6SPDYFBOEVYE3X75NM3AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGYZTGMRUGY . You are receiving this because you commented.Message ID: @.***>
-- P Help save paper - do you need to print this email?
@aaditya9899 https://github.com/aaditya9899 which API key you need? clerk.com API key? … On Wed, 18 Oct 2023 at 12:47, aaditya9899 @.> wrote: hey @dartpain https://github.com/dartpain i saw there is nothing yet from code or UI to sign in or sign up in dev mode in frontend folder ...am i correct? And also which type of auth should i use ..github or google and how can i get their api keys ...i shouldn't be using my personal ones ig @dartpain https://github.com/dartpain @aaditya9899 https://github.com/aaditya9899 Dear all, any updates on authentication function development? Yeah I was working upon it just stuck on that doubt so couldn't continue... — Reply to this email directly, view it on GitHub <#369 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A76VNQROFK6SPDYFBOEVYE3X75NM3AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGYZTGMRUGY . You are receiving this because you commented.Message ID: @.> -- P Help save paper - do you need to print this email?
In these auth provider services I mean
export const authOptions = {
// Configure one or more authentication providers
providers: [
GithubProvider({
clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET,
}),
// ...add more providers here
],
}
CAN we make those auth. API key configurable in .env file? let user input by themselves.
On Thu, 19 Oct 2023 at 18:49, aaditya9899 @.***> wrote:
@aaditya9899 https://github.com/aaditya9899 https://github.com/aaditya9899 which API key you need? clerk.com API key? … <#m_3141642545070216470_> On Wed, 18 Oct 2023 at 12:47, aaditya9899 @.> wrote: hey @dartpain https://github.com/dartpain https://github.com/dartpain https://github.com/dartpain i saw there is nothing yet from code or UI to sign in or sign up in dev mode in frontend folder ...am i correct? And also which type of auth should i use ..github or google and how can i get their api keys ...i shouldn't be using my personal ones ig @dartpain https://github.com/dartpain https://github.com/dartpain https://github.com/dartpain @aaditya9899 https://github.com/aaditya9899 https://github.com/aaditya9899 https://github.com/aaditya9899 Dear all, any updates on authentication function development? Yeah I was working upon it just stuck on that doubt so couldn't continue... — Reply to this email directly, view it on GitHub <#369 (comment) https://github.com/arc53/DocsGPT/issues/369#issuecomment-1767633246>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A76VNQROFK6SPDYFBOEVYE3X75NM3AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGYZTGMRUGY https://github.com/notifications/unsubscribe-auth/A76VNQROFK6SPDYFBOEVYE3X75NM3AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGYZTGMRUGY . You are receiving this because you commented.Message ID: @.> -- P Help save paper - do you need to print this email?
In these auth provider services I mean
export const authOptions = { // Configure one or more authentication providers providers: [ GithubProvider({ clientId: process.env.GITHUB_ID, clientSecret: process.env.GITHUB_SECRET, }), // ...add more providers here ], }
— Reply to this email directly, view it on GitHub https://github.com/arc53/DocsGPT/issues/369#issuecomment-1770556801, or unsubscribe https://github.com/notifications/unsubscribe-auth/A76VNQSW6T3WFVFKFCDSA6DYAEAS5AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZQGU2TMOBQGE . You are receiving this because you were mentioned.Message ID: @.***>
-- P Help save paper - do you need to print this email?
CAN we make those auth. API key configurable in .env file? let user input by themselves. … On Thu, 19 Oct 2023 at 18:49, aaditya9899 @.> wrote: @aaditya9899 https://github.com/aaditya9899 https://github.com/aaditya9899 which API key you need? clerk.com API key? … <#m_3141642545070216470_> On Wed, 18 Oct 2023 at 12:47, aaditya9899 @.> wrote: hey @dartpain https://github.com/dartpain https://github.com/dartpain https://github.com/dartpain i saw there is nothing yet from code or UI to sign in or sign up in dev mode in frontend folder ...am i correct? And also which type of auth should i use ..github or google and how can i get their api keys ...i shouldn't be using my personal ones ig @dartpain https://github.com/dartpain https://github.com/dartpain https://github.com/dartpain @aaditya9899 https://github.com/aaditya9899 https://github.com/aaditya9899 https://github.com/aaditya9899 Dear all, any updates on authentication function development? Yeah I was working upon it just stuck on that doubt so couldn't continue... — Reply to this email directly, view it on GitHub <#369 (comment) <#369 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A76VNQROFK6SPDYFBOEVYE3X75NM3AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGYZTGMRUGY https://github.com/notifications/unsubscribe-auth/A76VNQROFK6SPDYFBOEVYE3X75NM3AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGYZTGMRUGY . You are receiving this because you commented.Message ID: @.> -- P Help save paper - do you need to print this email? In these auth provider services I mean export const authOptions = { // Configure one or more authentication providers providers: [ GithubProvider({ clientId: process.env.GITHUB_ID, clientSecret: process.env.GITHUB_SECRET, }), // ...add more providers here ], } — Reply to this email directly, view it on GitHub <#369 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A76VNQSW6T3WFVFKFCDSA6DYAEAS5AVCNFSM6AAAAAA5PFYPECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZQGU2TMOBQGE . You are receiving this because you were mentioned.Message ID: @.**> -- P Help save paper - do you need to print this email?
yeah we can do that , let me implement it with GitHub first then will see of the other providers as well , sounds okay?
just having one more doubt , should I implement it in front end or backend.... next js auth give some issues in frontend and in backend i am having a bit difficulty in understanding where should it be implemented as there is no overall index or route file ...
We need to implement in both. Basically need to make sure requests are authorised to backend with jwt token too.
sure but is the frontend in next js or react?
Currently its react, but I think for next auth we might need to migrate to nextjs