Skip to content

Commit 81d4e2b

Browse files
committed
docs: add local auth screenshot
1 parent 5eca377 commit 81d4e2b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/www/docs/cli/local-auth.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The CLI allows to mock and read authentication and authorization credentials.
99

1010
When requesting the Static Web Apps login endpoints (`http://localhost:4280/.auth/login/<PROVIDER_NAME>`), you have access to a local authentication UI. This interface is served locally from the emulator and allows you to set fake user information for the current user from the provider supplied.
1111

12+
![swa cli architecture](../../static/img/swa-cli-local-auth.png)
13+
1214
### Reading credentials
1315

1416
The front-end application can request the `http://localhost:4280/.auth/me` endpoint and a `clientPrincipal` containing the fake information will be returned by the authentication API.
70.3 KB
Loading

0 commit comments

Comments
 (0)