Commit c6609e5b authored by Sandrino Di Mattia's avatar Sandrino Di Mattia Committed by Tim Neutkens

Update Auth0 example with new version (#9020)

parent 6ce6b96d
import { useAuth0 } from '@auth0/nextjs-auth0'
import { initAuth0 } from '@auth0/nextjs-auth0'
export default useAuth0({
export default initAuth0({
clientId: process.env.AUTH0_CLIENT_ID,
clientSecret: process.env.AUTH0_CLIENT_SECRET,
scope: process.env.AUTH0_SCOPE,
......
......@@ -8,7 +8,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@auth0/nextjs-auth0": "0.2.0",
"@auth0/nextjs-auth0": "0.4.0",
"dotenv": "^8.1.0",
"isomorphic-unfetch": "^3.0.0",
"next": "latest",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment