You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/migration/v4-migration/authorization.adoc
+36-2Lines changed: 36 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
= Authentication and Authorization
2
2
3
-
The largest breaking change in version 4.0.0 is the removal of the `@auth` directive, which requires a migration to the new `@authentication`and `@authorization` directives.
3
+
The largest breaking change in version 4.0.0 is the removal of the `@auth` directive, which requires a migration to the new `@authentication`, `@authorization`and `@subscriptionsAuthorization` directives.
4
4
5
5
== Instantiation
6
6
@@ -12,7 +12,9 @@ You should uninstall the previous plugin:
12
12
npm uninstall @neo4j/graphql-plugin-auth
13
13
----
14
14
15
-
Then, given an example of instantiation using a basic secret with the plugin:
15
+
=== Symmetric secret
16
+
17
+
Given an example of instantiation using a symmetric secret with the plugin:
16
18
17
19
[source, typescript, indent=0]
18
20
----
@@ -40,6 +42,38 @@ new Neo4jGraphQL({
40
42
})
41
43
----
42
44
45
+
=== JWKS endpoint
46
+
47
+
When using a JWKS endpoint, an example of how this might be configured currently is:
0 commit comments