Skip to content

Commit

Permalink
change all references of Gitlab -> GitLab (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefaidt authored Sep 11, 2023
1 parent 5a33dfe commit a161127
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion documentation/content/oauth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ We also have framework specific guides.
- Dropbox
- Facebook
- Github
- Gitlab
- GitLab
- Google
- Lichess
- Line
Expand Down
14 changes: 7 additions & 7 deletions documentation/content/oauth/providers/gitlab.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: "Gitlab OAuth provider"
description: "Learn how to use the Gitlab OAuth provider"
title: "GitLab OAuth provider"
description: "Learn how to use the GitLab OAuth provider"
---

OAuth integration for Gitlab. Provider id is `gitlab`.
OAuth integration for GitLab. Provider id is `gitlab`.

```ts
import { gitlab } from "@lucia-auth/oauth/providers";
Expand Down Expand Up @@ -33,16 +33,16 @@ const gitlab: (
| name | type | description | optional |
| ---------------------- | ------------------------------------------ | ------------------------------ | :------: |
| `auth` | [`Auth`](/reference/lucia/interfaces/auth) | Lucia instance | |
| `configs.clientId` | `string` | Gitlab OAuth app client id | |
| `configs.clientSecret` | `string` | Gitlab OAuth app client secret | |
| `configs.clientId` | `string` | GitLab OAuth app client id | |
| `configs.clientSecret` | `string` | GitLab OAuth app client secret | |
| `configs.redirectUri` | `string` | an authorized redirect URI | |
| `configs.scope` | `string[]` | an array of scopes ||

##### Returns

| type | description |
| ----------------------------------- | --------------- |
| [`GitlabProvider`](#gitlabprovider) | Gitlab provider |
| [`GitlabProvider`](#gitlabprovider) | GitLab provider |

## Interfaces

Expand Down Expand Up @@ -135,7 +135,7 @@ interface GitlabUserAuth<_Auth extends Auth> extends ProviderUserAuth<_Auth> {

| properties | type | description |
| -------------- | ------------------------------- | ----------------- |
| `gitlabUser` | [`GitlabUser`](#gitlabuser) | Gitlab user |
| `gitlabUser` | [`GitlabUser`](#gitlabuser) | GitLab user |
| `gitlabTokens` | [`GitlabTokens`](#gitlabtokens) | Access tokens etc |

##### Generics
Expand Down
2 changes: 1 addition & 1 deletion documentation/content/reference/oauth/modules/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ See [Github](/oauth/providers/github) provider.

## `gitlab()`

See [Gitlab](/oauth/providers/gitlab) provider.
See [GitLab](/oauth/providers/gitlab) provider.

## `google()`

Expand Down
2 changes: 1 addition & 1 deletion documentation/src/components/menus/OAuthMenu.astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import Menu from "./Menu.astro";
["Dropbox", "/oauth/providers/dropbox"],
["Facebook", "/oauth/providers/facebook"],
["Github", "/oauth/providers/github"],
["Gitlab", "/oauth/providers/gitlab"],
["GitLab", "/oauth/providers/gitlab"],
["Google", "/oauth/providers/google"],
["Lichess", "/oauth/providers/lichess"],
["Line", "/oauth/providers/line"],
Expand Down
2 changes: 1 addition & 1 deletion packages/oauth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

- [#1015](https://github.com/pilcrowOnPaper/lucia/pull/1015) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add Line provider

- [#1013](https://github.com/pilcrowOnPaper/lucia/pull/1013) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add Gitlab provider
- [#1013](https://github.com/pilcrowOnPaper/lucia/pull/1013) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add GitLab provider

- [#1017](https://github.com/pilcrowOnPaper/lucia/pull/1017) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add Bitbucket provider

Expand Down

0 comments on commit a161127

Please sign in to comment.