Skip to content

Commit b1e3592

Browse files
committed
updated README with new badges
1 parent bd7de43 commit b1e3592

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# AI-Developed OIDC Auth Demo (React + Spring Boot)
22

33
[![CI](https://github.com/rhofkens/oidc-auth-react-springboot-demo/actions/workflows/ci.yml/badge.svg)](https://github.com/rhofkens/oidc-auth-react-springboot-demo/actions/workflows/ci.yml)
4+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5+
![React](https://img.shields.io/badge/react-%2320232a.svg?style=flat&logo=react&logoColor=%2361DAFB)
6+
![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=flat&logo=spring&logoColor=white)
7+
![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=flat&logo=openjdk&logoColor=white)
8+
![TypeScript](https://img.shields.io/badge/typescript-%233178C6.svg?style=flat&logo=typescript&logoColor=white)
49

510
## What This Project Does
611

@@ -201,9 +206,10 @@ curl -H "Authorization: Bearer <your_jwt_token>" http://localhost:8080/api/v1/pr
201206
Example response (if authorized):
202207
```json
203208
{
204-
"info": "This is private information for authenticated users.",
205-
"email": "user@example.com"
209+
"message": "Hello John Doe (from UserInfo)",
210+
"email": "user@example.com"
206211
}
207212
```
213+
*Note: The actual message will contain the first and last name retrieved from the OIDC provider's UserInfo endpoint.*
208214
209215
You can obtain a test token by logging into the frontend application, which stores the access token. You can inspect network requests or use browser developer tools to find the token.

0 commit comments

Comments
 (0)