Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
c6609e5b
Commit
c6609e5b
authored
Oct 10, 2019
by
Sandrino Di Mattia
Committed by
Tim Neutkens
Oct 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Auth0 example with new version (#9020)
parent
6ce6b96d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
auth0.js
examples/auth0/lib/auth0.js
+2
-2
package.json
examples/auth0/package.json
+1
-1
No files found.
examples/auth0/lib/auth0.js
View file @
c6609e5b
import
{
use
Auth0
}
from
'@auth0/nextjs-auth0'
import
{
init
Auth0
}
from
'@auth0/nextjs-auth0'
export
default
use
Auth0
({
export
default
init
Auth0
({
clientId
:
process
.
env
.
AUTH0_CLIENT_ID
,
clientId
:
process
.
env
.
AUTH0_CLIENT_ID
,
clientSecret
:
process
.
env
.
AUTH0_CLIENT_SECRET
,
clientSecret
:
process
.
env
.
AUTH0_CLIENT_SECRET
,
scope
:
process
.
env
.
AUTH0_SCOPE
,
scope
:
process
.
env
.
AUTH0_SCOPE
,
...
...
examples/auth0/package.json
View file @
c6609e5b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
"author"
:
""
,
"author"
:
""
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"dependencies"
:
{
"dependencies"
:
{
"@auth0/nextjs-auth0"
:
"0.
2
.0"
,
"@auth0/nextjs-auth0"
:
"0.
4
.0"
,
"dotenv"
:
"^8.1.0"
,
"dotenv"
:
"^8.1.0"
,
"isomorphic-unfetch"
:
"^3.0.0"
,
"isomorphic-unfetch"
:
"^3.0.0"
,
"next"
:
"latest"
,
"next"
:
"latest"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment