Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Commit dc56855

Browse files
author
Kristian Aurlien
committed
Allow sample secret
1 parent 097eb64 commit dc56855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/apollo-server/authScopes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { ApolloServer } from 'apollo-server';
33
import neo4j from 'neo4j-driver';
44

55
// JWT
6-
// eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJzY29wZXMiOlsicmVhZDp1c2VyIiwiY3JlYXRlOnVzZXIiXX0.jCidMhYKk_0s8aQpXojYwZYz00eIG9lD_DbeXRKj4vA
6+
// eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJzY29wZXMiOlsicmVhZDp1c2VyIiwiY3JlYXRlOnVzZXIiXX0.jCidMhYKk_0s8aQpXojYwZYz00eIG9lD_DbeXRKj4vA pragma: allowlist secret
77

88
// scopes
99
// "scopes": ["read:user", "create:user"]
1010

1111
// JWT_SECRET
12-
// oqldBPU1yMXcrTwcha1a9PGi9RHlPVzQ
12+
// oqldBPU1yMXcrTwcha1a9PGi9RHlPVzQ pragma: allowlist secret
1313

1414
const typeDefs = `
1515
type User {

0 commit comments

Comments
 (0)