docs: update auth providers usage

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-06-17 18:02:48 +02:00
parent 9d4040777e
commit 3faed18fd3
3 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ export default async function createPlugin(
return await createRouter({
...
providerFactories: {
google: createGoogleProvider({
google: providers.google.create({
authHandler: async ({
fullProfile // Type: passport.Profile,
idToken // Type: (Optional) string,