|
1 | | -# @sourceloop/authentication-service |
2 | | - |
3 | | -[[email protected]>)](http://loopback.io/) |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
| 1 | +<a style="position: relative; top: 10px;" href="https://sourcefuse.github.io/arc-docs/arc-api-docs" target="_blank"><img src="https://github.com/sourcefuse/loopback4-microservice-catalog/blob/master/docs/assets/logo-dark-bg.png?raw=true" alt="ARC By SourceFuse logo" title="ARC By SourceFuse" align="right" width="150" /></a> |
| 2 | + |
| 3 | +# [@sourceloop/authentication-service](https://github.com/sourcefuse/loopback4-microservice-catalog/tree/master/services/authentication-service) |
| 4 | + |
| 5 | +<p align="left"> |
| 6 | +<a href="https://www.npmjs.org/package/@sourceloop/authentication-service"> |
| 7 | +<img src="https://img.shields.io/npm/v/@sourceloop/authentication-service.svg" alt="npm version" /> |
| 8 | +</a> |
| 9 | +<a href="https://github.com/sourcefuse/loopback4-microservice-catalog/graphs/contributors" target="_blank"> |
| 10 | +<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/sourcefuse/loopback4-microservice-catalog"> |
| 11 | +</a> |
| 12 | +<a href="https://www.npmjs.com/@sourceloop/authentication-service" target="_blank"> |
| 13 | +<img alt="sourceloop authentication-service downloads" src="https://img.shields.io/npm/dm/@sourceloop/authentication-service"> |
| 14 | +</a> |
| 15 | +<a href="./LICENSE"> |
| 16 | +<img src="https://img.shields.io/github/license/sourcefuse/loopback4-microservice-catalog" alt="License" /> |
| 17 | +</a> |
| 18 | +<a href="https://loopback.io/" target="_blank"> |
| 19 | +<img alt="Pb Loopback" src="https://img.shields.io/badge/Powered%20by-Loopback 4-brightgreen" /> |
| 20 | +</a> |
| 21 | +</p> |
12 | 22 |
|
13 | 23 | ## Overview |
14 | 24 |
|
@@ -182,6 +192,8 @@ npm i @sourceloop/authentication-service |
182 | 192 | ADD client_type varchar(100) DEFAULT 'public'; |
183 | 193 | ``` |
184 | 194 |
|
| 195 | + For a more elaborate implementation , see `/sandbox/auth-public-private-client`. |
| 196 | +
|
185 | 197 | - **Authenticating JWT using RSA Encryption** |
186 | 198 |
|
187 | 199 | In order to authenticate JWT token using RSA encrytion, we need to provide JWT_PUBLIC_KEY and JWT_PRIVATE_KEY where the JWT_PUBLIC_KEY and JWT_PRIVATE_KEY are the paths to your public and private keys(.pem files).Steps to create Public key and private key are as follows: |
@@ -524,3 +536,7 @@ Authorization: Bearer <token> where <token> is a JWT token signed using JWT issu |
524 | 536 | #### API Details |
525 | 537 |
|
526 | 538 | Visit the [OpenAPI spec docs](./openapi.md) |
| 539 | + |
| 540 | +## License |
| 541 | + |
| 542 | +Sourceloop is [MIT licensed](./LICENSE). |
0 commit comments