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

Add a example for callback url in docs for all providers

Open TakshakRamteke opened this issue 2 years ago • 2 comments

What is the improvement or update you wish to see?

I recently noticed this while working with the auth0 provider that

Only the docs for google provider tell us about what callback / allowed redirect to use

while it is something pretty simple and is mentioned pretty early in the docs

In my humble opinion I believe that it'd be so much more usefull and convenient if we could list them out on the docs for each provider

not only that but if we do this it'll make the docs look a lot more consistent as well

With all due respect, Please let me know you're thought's I'd be really happy to contribute this one

Is there any context that might help us understand?

E.g.

Here on the doc for google provider in the configuration section we list what callback's to use for the allowed redirect url's

Screenshot 2022-07-26 at 20-29-07 Google NextAuth js

Where as on the docs for auth0, gitlab , etc.. we didn't mention it at all

Screenshot 2022-07-26 at 20-29-28 Auth0 NextAuth js

Screenshot 2022-07-26 at 20-51-23 GitLab NextAuth js

Does the docs page already exist? Please link to it.

https://next-auth.js.org/providers/google

TakshakRamteke avatar Jul 26 '22 15:07 TakshakRamteke

@TakshakRamteke feel free to open a PR for these changes.

dryhurst avatar Jul 26 '22 22:07 dryhurst

I would like to contribute on this.

Shudhanshu-Choudhary avatar Aug 07 '22 17:08 Shudhanshu-Choudhary

Go for it @shudanshus198! 🙌

ThangHuuVu avatar Aug 13 '22 09:08 ThangHuuVu

It looks like this issue did not receive any activity for 60 days. It will be closed in 7 days if no further activity occurs. If you think your issue is still relevant, commenting will keep it open. Thanks!

stale[bot] avatar Oct 14 '22 02:10 stale[bot]

To keep things tidy, we are closing this issue for now. If you think your issue is still relevant, leave a comment and we might reopen it. Thanks!

stale[bot] avatar Oct 21 '22 08:10 stale[bot]