Skip to content

Commit 31cba39

Browse files
committed
docs: fix broken links
1 parent 3d420a2 commit 31cba39

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

website/docs/configuration/authentication.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ GitProxy allows setting up various auth methods for both UI users, and the backe
77

88
### Where to Configure Auth Methods
99

10-
Auth methods can be configured in [proxy.config.json](/proxy.config.json). The `authentication` array allows setting UI authentication, for user login and management purposes. The `apiAuthentication` array allows setting up an _optional_ authentication layer for extra API security.
10+
Auth methods can be configured in [proxy.config.json](https://github.com/finos/git-proxy/blob/main/proxy.config.json). The `authentication` array allows setting UI authentication, for user login and management purposes. The `apiAuthentication` array allows setting up an _optional_ authentication layer for extra API security.
1111

1212
### Default Configuration
1313

@@ -32,7 +32,7 @@ GitProxy also supports protecting API endpoints with extra auth layers. Currentl
3232

3333
#### Active Directory
3434

35-
A default, empty setup for OIDC is already present in [proxy.config.json](/proxy.config.json):
35+
A default, empty setup for OIDC is already present in [proxy.config.json](https://github.com/finos/git-proxy/blob/main/proxy.config.json):
3636

3737
```json
3838
{
@@ -51,7 +51,7 @@ A default, empty setup for OIDC is already present in [proxy.config.json](/proxy
5151

5252
#### OIDC
5353

54-
A default, empty setup for OIDC is already present in [proxy.config.json](/proxy.config.json). You can fill this in with your required parameters. Here's an example using Google as a login provider:
54+
A default, empty setup for OIDC is already present in [proxy.config.json](https://github.com/finos/git-proxy/blob/main/proxy.config.json). You can fill this in with your required parameters. Here's an example using Google as a login provider:
5555

5656
```json
5757
"authentication": [
@@ -112,7 +112,7 @@ Note that if the `expectedAudience` is missing, it will be set to the client ID.
112112

113113
### Adding your own methods
114114

115-
You can add new UI auth methods by extending the [passport.js configuration file](/src/service/passport/local.js) with your desired method. You'll have to define a module and then add it to the `authStrategies` map:
115+
You can add new UI auth methods by extending the [passport.js configuration file](https://github.com/finos/git-proxy/blob/main/src/service/passport/local.js) with your desired method. You'll have to define a module and then add it to the `authStrategies` map:
116116

117117
```js
118118
const local = require('./local');
@@ -126,10 +126,10 @@ const authStrategies = {
126126
};
127127
```
128128

129-
Check out the files in [src/service/passport](/src/service/passport) for examples on how to define the specific `configure()` functions for each method:
130-
- [Local](/src/service/passport/local.js)
131-
- [ActiveDirectory](/src/service/passport/activeDirectory.js)
132-
- [OIDC](/src/service/passport/oidc.js)
129+
Check out the files in [src/service/passport](https://github.com/finos/git-proxy/blob/main/src/service/passport) for examples on how to define the specific `configure()` functions for each method:
130+
- [Local](https://github.com/finos/git-proxy/blob/main/src/service/passport/local.js)
131+
- [ActiveDirectory](https://github.com/finos/git-proxy/blob/main/src/service/passport/activeDirectory.js)
132+
- [OIDC](https://github.com/finos/git-proxy/blob/main/src/service/passport/oidc.js)
133133

134134
### Questions?
135135

0 commit comments

Comments
 (0)