Skip to content

next auth Authentification #369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dartpain opened this issue Oct 2, 2023 · 15 comments
Open

next auth Authentification #369

dartpain opened this issue Oct 2, 2023 · 15 comments
Labels
backend enhancement New feature or request frontend help wanted Extra attention is needed javascript Pull requests that update Javascript code python Pull requests that update Python code

Comments

@dartpain
Copy link
Contributor

dartpain commented Oct 2, 2023

Basically next auth to handle authentification.
https://authjs.dev/

@dartpain dartpain added the enhancement New feature or request label Oct 2, 2023
@djv03
Copy link

djv03 commented Oct 2, 2023

can explain little bit more about issue?

@dartpain
Copy link
Contributor Author

dartpain commented Oct 2, 2023

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.

@aaditya9899
Copy link

If this issue is open I can work upon it

@dartpain
Copy link
Contributor Author

dartpain commented Oct 2, 2023

Would be great, please do, ill assign it to you for now

@aaditya9899
Copy link

aaditya9899 commented Oct 7, 2023

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

@jamsnrihk
Copy link

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?

@aaditya9899
Copy link

aaditya9899 commented Oct 18, 2023

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...

@jamsnrihk
Copy link

jamsnrihk commented Oct 18, 2023 via email

@aaditya9899
Copy link

@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
  ],
}

@jamsnrihk
Copy link

jamsnrihk commented Oct 20, 2023 via email

@aaditya9899
Copy link

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?

@aaditya9899
Copy link

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 ...

@dartpain
Copy link
Contributor Author

We need to implement in both. Basically need to make sure requests are authorised to backend with jwt token too.

@aaditya9899
Copy link

aaditya9899 commented Oct 28, 2023

sure but is the frontend in next js or react?

@dartpain
Copy link
Contributor Author

Currently its react, but I think for next auth we might need to migrate to nextjs

@dartpain dartpain added help wanted Extra attention is needed python Pull requests that update Python code javascript Pull requests that update Javascript code frontend backend labels Dec 22, 2024
@dartpain dartpain moved this to Backlog in DocsGPT Roadmap Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request frontend help wanted Extra attention is needed javascript Pull requests that update Javascript code python Pull requests that update Python code
Projects
Status: Backlog
Development

No branches or pull requests

4 participants