Skip to content

Commit 2c12ba0

Browse files
committed
add conclusions
1 parent 0eeabb0 commit 2c12ba0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/guides/dex.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ docker-compose logs -f dex
112112
```
113113
You should see output indicating that Dex is listening on the specified port.
114114

115-
#### Using Dex OAuth testing in GHA
115+
### Using Dex OAuth testing in GHA
116116

117117
To test the OAuth flow, you'll need a client application configured to authenticate against Dex. One of the most typical use cases is to use it inside Github Actions. Since Dex supports mock authentication, you can predefine test users as suggests in the [docs](https://dexidp.io/docs). The `config.yaml` file should looks like:
118118

@@ -159,7 +159,8 @@ jobs:
159159
nohup ./dex serve config.yaml > dex.log 2>&1 &
160160
sleep 5 # Give Dex time to start
161161
[...]
162-
163162
```
164163

165164

165+
### Conclusion
166+
By following this guide, you've set up Dex as an OAuth mock server using Docker. This setup is invaluable for testing and development, allowing you to simulate OAuth flows without relying on external identity providers. For more advanced configurations and integrations, refer to the [Dex documentation](https://dexidp.io/docs/).

0 commit comments

Comments
 (0)