diff --git a/examples/apple.js b/examples/apple.js index c6ae6da..3e2ac3e 100644 --- a/examples/apple.js +++ b/examples/apple.js @@ -12,7 +12,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) const appleSignin = require('apple-signin-auth') -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') // All fields below must come from environment variables diff --git a/examples/discord.js b/examples/discord.js index 5665bcf..57eb46c 100644 --- a/examples/discord.js +++ b/examples/discord.js @@ -1,6 +1,8 @@ 'use strict' const fastify = require('fastify')({ logger: { level: 'trace' } }) + +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/discovery.js b/examples/discovery.js index 0c1db7e..8928a28 100644 --- a/examples/discovery.js +++ b/examples/discovery.js @@ -10,7 +10,7 @@ const cookieOpts = { httpOnly: true } -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') fastify.register(require('@fastify/cookie'), { secret: ['my-secret'], parseOptions: cookieOpts diff --git a/examples/epic-games.js b/examples/epic-games.js index 3644d6d..1b7ab4e 100644 --- a/examples/epic-games.js +++ b/examples/epic-games.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/facebook.js b/examples/facebook.js index 43054e8..67a8e06 100644 --- a/examples/facebook.js +++ b/examples/facebook.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/github.js b/examples/github.js index 1ae9bb4..61cabe2 100644 --- a/examples/github.js +++ b/examples/github.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/google-with-pkce.js b/examples/google-with-pkce.js index 50291d0..06f46a9 100644 --- a/examples/google-with-pkce.js +++ b/examples/google-with-pkce.js @@ -10,7 +10,7 @@ const cookieOpts = { httpOnly: true } -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') fastify.register(require('@fastify/cookie'), { secret: ['my-secret'], parseOptions: cookieOpts diff --git a/examples/google.js b/examples/google.js index 69c3d88..4d7d176 100644 --- a/examples/google.js +++ b/examples/google.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/linkedin.js b/examples/linkedin.js index 5dbf171..b9548e2 100644 --- a/examples/linkedin.js +++ b/examples/linkedin.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/spotify.js b/examples/spotify.js index edda060..8fdcc79 100644 --- a/examples/spotify.js +++ b/examples/spotify.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: true }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/userinfo.js b/examples/userinfo.js index 4cce132..91e8c7b 100644 --- a/examples/userinfo.js +++ b/examples/userinfo.js @@ -9,7 +9,7 @@ const cookieOpts = { httpOnly: true } -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(require('@fastify/cookie'), { diff --git a/examples/vatsim-dev.js b/examples/vatsim-dev.js index aa8b441..e21927b 100644 --- a/examples/vatsim-dev.js +++ b/examples/vatsim-dev.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/vatsim.js b/examples/vatsim.js index 766fda6..2cc69a7 100644 --- a/examples/vatsim.js +++ b/examples/vatsim.js @@ -3,7 +3,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) const fastifyPlain = require('fastify') -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/vkontakte.js b/examples/vkontakte.js index 74dd4c2..6bbcad8 100644 --- a/examples/vkontakte.js +++ b/examples/vkontakte.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, { diff --git a/examples/yandex.js b/examples/yandex.js index cbc904f..534033f 100644 --- a/examples/yandex.js +++ b/examples/yandex.js @@ -2,7 +2,7 @@ const fastify = require('fastify')({ logger: { level: 'trace' } }) -// const oauthPlugin = require('fastify-oauth2') +// const oauthPlugin = require('@fastify/oauth2') const oauthPlugin = require('..') fastify.register(oauthPlugin, {