Skip to content

Commit 9b92670

Browse files
rumcaisf3l1x
authored andcommitted
add docs gitlab client
1 parent 023a828 commit 9b92670

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.docs/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,23 @@ extensions:
4646
facebook: Contributte\OAuth2Client\DI\FacebookAuthExtension
4747
```
4848

49+
### Gitlab
50+
51+
- Implemented package [omines/oauth2-gitlab](https://github.com/omines/oauth2-gitlab)
52+
- [Credentials source](https://docs.gitlab.com/ee/integration/oauth_provider.html)
53+
- Flow registration
54+
```neon
55+
gitlab:
56+
clientId: '...'
57+
clientSecret: '...'
58+
domain: 'https://gitlab.com'
59+
options:
60+
# optionally additional options passed to GitlabProvider
61+
62+
extensions:
63+
facebook: Contributte\OAuth2Client\DI\GitlabAuthExtension
64+
```
65+
4966
### Others
5067

5168
You could implement other providers which support auth code authentication by extending `Contributte\OAuth2Client\Flow\AuthCodeFlow`. Other authentication methods are currently not supported (PR is welcome).

0 commit comments

Comments
 (0)