Added JWT based Authorization for any operation
This commit is contained in:
@ -64,4 +64,7 @@ configureWunderGraphApplication({
|
||||
],
|
||||
},
|
||||
},
|
||||
authorization: {
|
||||
roles: ['admin'],
|
||||
},
|
||||
});
|
||||
|
@ -5,7 +5,7 @@ export default configureWunderGraphOperations<OperationsConfiguration>({
|
||||
operations: {
|
||||
defaultConfig: {
|
||||
authentication: {
|
||||
required: false,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
queries: (config) => ({
|
||||
|
Reference in New Issue
Block a user