Skip to content

Commit f938ad5

Browse files
committed
docs: README updated
1 parent c4245fb commit f938ad5

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
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

server2server/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,3 @@ const resource = await response.json()
151151

152152
Since there are no refresh token involved, the requests may fail, due to expired token.
153153
It's up to the client to re-request a new token.
154-
155-
## License
156-
157-
MIT, see [LICENSE](../LICENSE) file

0 commit comments

Comments
 (0)