Skip to content

Commit 3c78924

Browse files
russelmrclpredic8
andauthored
add code flow examples to README (#2231)
* add code flow examples to README * wip * wip * wip * resolve --------- Co-authored-by: Thomas Bayer <bayer@predic8.de>
1 parent 13717d0 commit 3c78924

7 files changed

Lines changed: 30 additions & 25 deletions

File tree

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
# OAuth Examples
22

3-
## JWT Token Validation against Microsoft's Azure AD
3+
- [JWT Token Validation (Azure AD)](azure-ad-with-jwts#jwt-token-validation-against-microsofts-azure-ad)
44

5-
See: [Tutorial](azure-ad-with-jwts/README.md)
5+
Validate JWT tokens issued by Microsoft Azure Active Directory.
66

7-
## Securing APIs with OAuth2 and the Resource Owner Password Flow
7+
- [OAuth2 Resource Owner Password Flow](api#tutorial-oauth2-resource-owner-password-flow)
88

9-
See [Tutorial](api/README.md)
9+
Secure APIs using username/password-based OAuth2 authentication.
1010

11-
## OAuth2 authorization with OpenID-Connect and OpenID-Discovery using Membrane
11+
- [OAuth2 Authorization Code Flow](membrane#oauth2-authorization-code-flow-with-membrane-tutorial)
1212

13-
Membrane API Gateway serves as authorization server.
13+
Standard OAuth2 flow using authorization codes for web applications.
1414

15-
See [Tutorial](membrane/README.md)
15+
- [OAuth2 Client Credentials Flow](credentials#oauth2-password-flow-tutorial)
1616

17-
## OAuth2 authorization with OpenID-Connect and OpenID-Discovery using Google
17+
Machine-to-machine authentication using client credentials.
1818

19-
Google serves as authorization server.
19+
- [OAuth2 with OpenID Connect](openid#oauth2-with-openid-connect-and-discovery-tutorial)
20+
21+
Use Membrane as an OpenID Connect authorization server.
2022

21-
See [Tutorial](membrane/README.md)
23+
- [OAuth2 with Google](google#oauth2-with-google-as-authorization-server-tutorial)
24+
25+
Authenticate users via Google OAuth2.
2226

23-
## OAuth2 authorization with github as Authorization Server.
27+
- [OAuth2 with GitHub](github#oauth2-with-github-as-authorization-server-tutorial)
2428

25-
See: [Tutorial](github/README.md)
29+
Authenticate users via GitHub OAuth2.
2630

27-
## OAuth2 authorization with google as Authorization Server.
28-
29-
See: [Tutorial](google/README.md)
30-
31-
## OAuth2 implicit Flow
32-
33-
See. [Tutorial](implicit/README.md)
31+
- [OAuth2 Implicit Flow](implicit#oauth2-implicit-flow-with-javascript-client-tutorial)
3432

33+
Browser-based authentication example.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
This example shows the OAuth2 password flow. A client requests an access token, and the token is verified through a token validator.
1+
# OAuth2 Password Flow Tutorial
2+
3+
A client requests an access token that will be verified through a token validator.
24

35
See [OAuth2 Client Credentials Flow (API Access)](https://www.membrane-api.io/tutorials/oauth2/oauth2-credentials-flow.html)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
This example shows OAuth2 authorization with the help of GitHub as an authorization server.
1+
# OAuth2 with GitHub as Authorization Server Tutorial
22

33
See [OAuth2 with GitHub (Login Integration)](https://www.membrane-api.io/tutorials/oauth2/oauth2-github.html)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
This example shows OAuth2 authorization with help of Google as an authorization server.
1+
# OAuth2 with Google as Authorization Server Tutorial
22

33
See [OAuth2 with Google (Web App Login)](https://www.membrane-api.io/tutorials/oauth2/oauth2-google.html)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
This example shows the OAuth2 implicit flow. It uses a JavaScript client.
1+
# OAuth2 Implicit Flow with JavaScript Client Tutorial
22

33
See [OAuth2 Implicit Flow (Browser Clients)](https://www.membrane-api.io/tutorials/oauth2/oauth2-implicit-flow-example.html)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
This example shows OAuth2 authorization with OpenID-Connect and OpenID-Discovery. It uses Membrane as an authorization server.
1+
# OAuth2 Authorization Code Flow with Membrane Tutorial
2+
3+
Example showing how to use Membrane API Gateway as OAuth2 Authorization and resource server.
24

35
See [OAuth2 Authorization Code Flow (Membrane)](https://www.membrane-api.io/tutorials/oauth2/oauth2-code-flow-example.html)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
This example shows OAuth2 authorization with OpenID-Connect and OpenID-Discovery. It uses Google as an authorization server.
1+
# OAuth2 with OpenID Connect and Discovery Tutorial
2+
3+
Membrane connects to Google as an external OpenID provider.
24

35
See [OAuth2 / OpenID Connect (External Providers)](https://www.membrane-api.io/tutorials/oauth2/oauth2-openid.html)

0 commit comments

Comments
 (0)