Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add links in documentation to relevant security guides. #1512

Merged
merged 3 commits into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Read the following guides to learn more about JSON Web Token and JSON Web Keys:

- https://guides.micronaut.io/latest/micronaut-cli-jwkgen.html[JWK generation with a micronaut command line application]
- https://guides.micronaut.io/latest/micronaut-security-keys-jwks.html[JWK keys endpoint]
- https://guides.micronaut.io/latest/micronaut-security-jwt.html[Micronaut JWT authentication]
- https://guides.micronaut.io/latest/micronaut-security-jwt-cookie.html[Micronaut JWT authentication via cookies]
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ public class MyContextBuilder implements ContextBuilder {

}
----

TIP: Read https://guides.micronaut.io/latest/micronaut-database-authentication-provider.html[LDAP and database authentication providers] to learn more about LDAP Authentication:
5 changes: 4 additions & 1 deletion src/main/docs/guide/authenticationStrategies/session.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ Check the <<redirection, Redirection configuration>> to customize session based
include::{testsuitegeb}/security/session/SessionAuthenticationSpec.groovy[tag=yamlconfig,indent=0]
----

TIP: Read the https://guides.micronaut.io/latest/micronaut-security-session.html[Session-Based Authentication Micronaut Guide] to learn more.
Read the following guides to learn more abut session based authentication:

- https://guides.micronaut.io/latest/micronaut-security-session.html[Session-Based Authentication Micronaut Guide]
- https://guides.micronaut.io/latest/micronaut-security-session-database-authentication.html[Database Authentication]

== Session-based authentication without redirection

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Read the following guides to learn more abut Client Credentials Flow:

- https://guides.micronaut.io/latest/micronaut-oauth2-client-credentials-auth0.html[Client Credentials Flow with Micronaut and Auth0]
- https://guides.micronaut.io/latest/micronaut-oauth2-client-credentials-cognito.html[Client Credentials Flow with Micronaut and Amazon Cognito]
9 changes: 9 additions & 0 deletions src/main/docs/guide/oauth/oauthGuides.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Read the following guides to learn more abut OAuth:

- https://guides.micronaut.io/latest/micronaut-oauth2-auth0.html[Secure a Micronaut application with Auth0]
- https://guides.micronaut.io/latest/micronaut-oauth2-cognito.html[Secure a Micronaut application with Cognito]
- https://guides.micronaut.io/latest/micronaut-oauth2-github.html[Secure a Micronaut application with Github]
- https://guides.micronaut.io/latest/micronaut-oauth2-oidc-google.html[Secure a Micronaut application with Google]
- https://guides.micronaut.io/latest/micronaut-oauth2-keycloak.html[Secure a Micronaut application with Keycloak]
- https://guides.micronaut.io/latest/micronaut-oauth2-linkedin.html[Secure a Micronaut application with LinkedIn]
- https://guides.micronaut.io/latest/micronaut-oauth2-okta.html[Secure a Micronaut application with Okta]
3 changes: 3 additions & 0 deletions src/main/docs/guide/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ authenticationStrategies:
claimsValidation: Claims Validation
render:
title: Token Render
jwtGuides: Guides
ldap:
title: LDAP Authentication
configuration: Configuration
Expand Down Expand Up @@ -99,6 +100,7 @@ oauth:
clientcredentials:
title: Client Credentials
clientecredentialshttpclient: HTTP Client Filter for Client Credentials
clientCredentialGuides: Guides
password: Password
oauth-endpoints:
title: Endpoints
Expand All @@ -107,6 +109,7 @@ oauth:
revocation: Revocation
user-info: OpenID User Info
custom-client: Custom Clients
oauthGuides: Guides
aot:
title: Ahead-of-time optimizations
aotConfiguration: Micronaut Security AOT Configuration
Expand Down