Skip to content

Commit d4d9547

Browse files
tronghnjhrv
andcommittedMay 21, 2024··
auth: minor cleanup for overview
Co-authored-by: Johnny Horvi <johnny@horvi.no>
1 parent 5677b5b commit d4d9547

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed
 

‎docs/auth/README.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
tags: [auth, explanation]
33
description: Services and addons to support authentication and authorization in your applications.
44
---
5-
# Authentication and authorization
5+
# Authentication and authorization overview
66

77
NAIS helps your applications [log in users](#logging-in-users), [validate inbound requests](#validating-inbound-requests) and [make authenticated outbound requests](#making-outbound-requests) using the following identity providers:
88

@@ -26,16 +26,17 @@ NAIS helps your applications [log in users](#logging-in-users), [validate inboun
2626

2727
</div>
2828

29-
Your application may have multiple authentication use cases that may require a combination of services.
29+
Your application may have multiple use cases that can require a combination of services.
3030

31-
Check out the different scenarios below to see which service(s) you need for your application.
31+
See the different scenarios below to identify which service(s) you need for your application, and follow the links to the respective service for more details.
3232

3333
## Logging in users
3434

35-
:person_standing: authenticate employee :octicons-arrow-right-24: [Azure AD](../security/auth/azure-ad/sidecar)
35+
Depending on who your users are, you can use the following services to log them in:
3636

37-
:person_standing: authenticate citizen :octicons-arrow-right-24: [ID-porten]
37+
:person_standing: Log in employees :octicons-arrow-right-24: [Azure AD](../security/auth/azure-ad/sidecar)
3838

39+
:person_standing: Log in citizens :octicons-arrow-right-24: [ID-porten]
3940

4041
## Validating inbound requests
4142

@@ -56,18 +57,15 @@ graph TD
5657

5758
The graph above can also be described as:
5859

59-
60-
:material-server: Validate requests from internal application :octicons-arrow-right-24: [Azure AD]
61-
62-
:material-server: Validate requests from external application :octicons-arrow-right-24: [Maskinporten]
63-
6460
:material-server::person_standing: Validate requests from application on behalf of employee :octicons-arrow-right-24: [Azure AD]
6561

6662
:material-server::person_standing: Validate requests from application on behalf of citizen :octicons-arrow-right-24: [TokenX]
6763

64+
:material-server: Validate requests from internal application :octicons-arrow-right-24: [Azure AD]
6865

69-
## Making outbound requests
66+
:material-server: Validate requests from external application :octicons-arrow-right-24: [Maskinporten]
7067

68+
## Making outbound requests
7169

7270
```mermaid
7371
graph TD
@@ -76,12 +74,13 @@ graph TD
7674
7775
B1 --> |citizens| TokenX[<a href='../security/auth/tokenx'>TokenX</>]
7876
B1 --> |employees| AAD_machine[<a href='../security/auth/azure-ad'>Azure AD</>]
79-
8077
8178
B2 --> |internally| AAD_machine[<a href='../security/auth/azure-ad'>Azure AD</>]
8279
B2 --> |externally| Maskinporten[<a href='../security/auth/maskinporten'>Maskinporten</a>]
8380
```
8481

82+
The graph above can also be described as:
83+
8584
:material-server::person_standing: Make requests on behalf of employee :octicons-arrow-right-24: [Azure AD]
8685

8786
:material-server::person_standing: Make requests on behalf of citizen :octicons-arrow-right-24: [TokenX]
@@ -90,7 +89,6 @@ graph TD
9089

9190
:material-server: Make requests to external API :octicons-arrow-right-24: [Maskinporten]
9291

93-
9492
[Azure AD]: ../security/auth/azure-ad
9593
[ID-porten]: ../security/auth/idporten
9694
[TokenX]: ../security/auth/tokenx

0 commit comments

Comments
 (0)
Please sign in to comment.