# README

[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/license/mit) ![Java CI](https://github.com/andifalk/cloud-security-workshop/workflows/JavaCI/badge.svg)

## OAuth 2.1 and OpenID Connect for Java Developers (Hands-On Workshop)

Workshop on building secure cloud-native applications using OAuth 2.0 and OpenID Connect 1.0 authentication and authorization.

Please follow the provided step-by-step [Tutorial](https://andifalk.gitbook.io/oauth-2.1-and-openid-connect-for-java-developers) for this workshop.

* [Introduction](#introduction)
* [Intro Lab](#intro-lab)
* [Hands-On Labs](#hands-on-labs)
* [Best-Practices & Recommendations](#best-practices--recommendations)

### Setup

* [Requirements](/oauth-2.1-and-openid-connect-for-java-developers/setup/requirements.md)
* [Setup](/oauth-2.1-and-openid-connect-for-java-developers/setup/setup.md)

### Introduction

* [Introduction to OAuth 2.1 and OpenID Connect](/oauth-2.1-and-openid-connect-for-java-developers/introduction/introduction.md)
* [Sample Application Architecture](/oauth-2.1-and-openid-connect-for-java-developers/introduction/architecture.md)

### Intro Lab

* [Authorization Code Grant in Action](/oauth-2.1-and-openid-connect-for-java-developers/intro-labs/auth-code-in-action.md)
* [Practice Authorization Grant Flows](/oauth-2.1-and-openid-connect-for-java-developers/intro-labs/oauth-grants.md)

### Hands-On Labs

* [Lab 1: The server side (resource server)](/oauth-2.1-and-openid-connect-for-java-developers/hands-on-labs/product.md)
* [Lab 2: The client side](/oauth-2.1-and-openid-connect-for-java-developers/hands-on-labs/ui.md)

### Best-Practices & Recommendations

* [Client-Side](/oauth-2.1-and-openid-connect-for-java-developers/best-practices-and-recommendations/client.md)
* [Server-Side](/oauth-2.1-and-openid-connect-for-java-developers/best-practices-and-recommendations/server.md)

### Feedback

Any feedback on this hands-on workshop is highly appreciated. Just email *andreas.falk(at)novatec-gmbh.de* or contact me via Twitter (*@andifalk*).

### License

MIT licensed


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://andifalk.gitbook.io/oauth-2.1-and-openid-connect-for-java-developers/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
