next-forge icon indicating copy to clipboard operation
next-forge copied to clipboard

Feature Request: Support for Custom Authentication Methods

Open rajanshresth opened this issue 1 year ago • 5 comments

The project is currently configured to use Clerk for authentication. However, some developers, including myself, have specific use cases that require custom authentication methods, which would be easier to implement with Auth.js. Adding support for custom authentication would allow greater flexibility and enable integration with various authentication providers not supported by Clerk. Use Case: In our scenario, we need to implement a custom authentication mechanism that involves unique user data validations and security checks. While Clerk is great, it doesn’t fully support our requirements, and Auth.js would allow us to define custom authentication logic directly.

rajanshresth avatar Nov 13 '24 04:11 rajanshresth

@rajanshresth I can see this being a useful guide i.e. "Auth -> Switch to Custom Authentication". I'm open to a PR!

haydenbleasel avatar Nov 13 '24 07:11 haydenbleasel

Yes, I agree it would be really cool to see some of the new auth providers like Better Auth integrated too...

DaniEnsi avatar Nov 13 '24 17:11 DaniEnsi

@DaniEnsi Currently working with @Bekacru on a Better Auth guide! Stay tuned.

haydenbleasel avatar Nov 13 '24 17:11 haydenbleasel

Thats great to hear! Really cool project 🔥

DaniEnsi avatar Nov 13 '24 17:11 DaniEnsi

@haydenbleasel Is there any timeline for when this is going to be done?

DaniEnsi avatar Nov 13 '24 19:11 DaniEnsi

@haydenbleasel Do you have any idea when this is going to be done?

DaniEnsi avatar Nov 24 '24 20:11 DaniEnsi

@DaniEnsi we have an auth.js migration guide here: https://docs.next-forge.com/authentication/authjs

More guides coming soon for other providers.

haydenbleasel avatar Nov 24 '24 23:11 haydenbleasel

@haydenbleasel Do you have any idea when this is going to be done?

I'm working on it. I just wanted to wait until we have v1, hopefully this week!

Bekacru avatar Nov 25 '24 05:11 Bekacru

@haydenbleasel Do you have any idea when this is going to be done?

I'm working on it. I just wanted to wait until we have v1, hopefully this week!

That great to hear! Really loving what you are doing with better-auth. Have never seen such a large feature set in self hosted auth providers, like the passkeys and integrated org. support! 🙌

DaniEnsi avatar Nov 25 '24 11:11 DaniEnsi

:rocket: Issue was released in v2.18.19 :rocket:

github-actions[bot] avatar Nov 27 '24 22:11 github-actions[bot]

@DaniEnsi BetterAuth guide is now live! https://docs.next-forge.com/authentication/better-auth

haydenbleasel avatar Nov 27 '24 22:11 haydenbleasel

BetterAuth has very limited providers

guptaashwanee avatar Dec 18 '24 07:12 guptaashwanee

BetterAuth has very limited providers

Feel free to open an issue to request a specific provider on our repo. Also, you can use the Generic OAuth Plugin to easily add any provider yourself.

Bekacru avatar Dec 18 '24 07:12 Bekacru