Skip to content

Commit

Permalink
add docs gitlab client
Browse files Browse the repository at this point in the history
  • Loading branch information
rumcais authored and f3l1x committed May 24, 2024
1 parent 023a828 commit 9b92670
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,23 @@ extensions:
facebook: Contributte\OAuth2Client\DI\FacebookAuthExtension
```

### Gitlab

- Implemented package [omines/oauth2-gitlab](https://github.com/omines/oauth2-gitlab)
- [Credentials source](https://docs.gitlab.com/ee/integration/oauth_provider.html)
- Flow registration
```neon
gitlab:
clientId: '...'
clientSecret: '...'
domain: 'https://gitlab.com'
options:
# optionally additional options passed to GitlabProvider
extensions:
facebook: Contributte\OAuth2Client\DI\GitlabAuthExtension
```

### Others

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).
Expand Down

0 comments on commit 9b92670

Please sign in to comment.