File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
- # node-oauth2-server-examples
2
- This repository is meant to maintain a list of examples of using node-oauth2-server with different databases.
1
+ # Node OAuth2 Server Examples
2
+
3
+ This repository is meant to maintain a list of examples of using @node-oauth/oauth2-server
4
+ with different setups.
5
+
6
+ ## Examples
7
+
8
+ Each example contains its own README with specific installation and run instructions.
9
+
10
+ ### Server to server
11
+
12
+ Location: [ /server2server] ( ./server2server )
13
+
14
+ Minimal client-credential grant flow with express and fetch and in-memory DB.
15
+ Suitable for (Micro-) services and small apps, exchanging protected resources.
16
+
17
+ ## License
18
+
19
+ All examples are MIT licenses, defined by the top-level [ LICENSE] ( ./LICENSE ) file
Original file line number Diff line number Diff line change @@ -151,7 +151,3 @@ const resource = await response.json()
151
151
152
152
Since there are no refresh token involved, the requests may fail, due to expired token.
153
153
It's up to the client to re-request a new token.
154
-
155
- ## License
156
-
157
- MIT, see [ LICENSE] ( ../LICENSE ) file
You can’t perform that action at this time.
0 commit comments