-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Comments
can explain little bit more about issue? |
Basically create authentification for the application. 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? |
@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
<#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
|
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 |
Basically next auth to handle authentification.
https://authjs.dev/
The text was updated successfully, but these errors were encountered: