Deolin
Deolin
BABetter Auth
Created by Jim-Y on 3/7/2025 in #help
OIDC Provider questions
I've added this functionality to my Next.js code, and I'll add you to it when I have time,maybe you can get some ideas from it for the next update. I implemented a couple of cookies. For example, if a user is redirected to the sign-in page during oidc, the URL data is stored in a cookie so we can use it later either after 2FA, after even after sign-up or sign in with no 2fa. I haven't done sign up logic but Since email verification is required, I would probably also make it so that after verifying their email, the user is redirected using the stored cookie data. On the front end, I implemented the sign-in page to include a default redirect when no OIDC or redirect URL is provided. Like domain.com/sign-in?redirect-url=google.com
14 replies
BABetter Auth
Created by Jim-Y on 3/7/2025 in #help
OIDC Provider questions
same for if user has 2fa and using using the oidc
14 replies
BABetter Auth
Created by Jim-Y on 3/7/2025 in #help
OIDC Provider questions
i had same problem i had to add some of my own code
14 replies