Zepeto
Explore posts from serversDependency issue
I'm having this error now Method not found: 'System.IServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.
10 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
What does the signIn function represent? Is it in the authorize part of the provider?
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
The example mentions the 2FA in case we have it in advance 😦
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
How do we wait for the user to enter the code before continuing the authentication process?
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
So I can't get the code in advance, as I said here, it depends on the API response
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
The 2FA is optional and we don't know it in advance
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
The user enters his username and password, I fetch an api with these data. The API returns me either the access token or a response that tells me that the account uses the 2FA, in which case the api automatically sends the code by mail to the user and he only has to enter it so that I can send this code to a new endpoint that returns me the access token
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
I didn't implented next-auth yet, I wanted to make sure it was possible before
This is not a supported provider so I use the credential provider then I fetch an api with the username/password
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
I have already implemented it without next-auth, that's why I ask the question precisely with next-auth, moreover they are external accounts of another application
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
I need help to implement the api route in general, I did not understand how to manage this optional factor
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/27/2023 in #questions
next auth 2FA
I found a bit of an answer to my question here, could someone help me set this up ? https://github.com/nextauthjs/next-auth/issues/4820
29 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/20/2023 in #questions
Nextjs | Set cookies header
Yes but the api blocks the request with cloudflare
37 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/20/2023 in #questions
Nextjs | Set cookies header
but it was almost empty
37 replies
TTCTheo's Typesafe Cult
•Created by Zepeto on 3/20/2023 in #questions
Nextjs | Set cookies header
nop just added to it
37 replies