Skip to content

Commit 5cc580f

Browse files
Create plugin-configuration.md
Added Advanced Auth config options
1 parent 4b23c73 commit 5cc580f

File tree

1 file changed

+189
-0
lines changed

1 file changed

+189
-0
lines changed

installation/plugin-configuration.md

+189
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
# Plugin Config
2+
3+
## Advanced Auth Plugin
4+
5+
After installing the plugin auth provider credentils need to be added to the environment file. The formatting is normalized across providers and follows a simple syntax: PROVIDERNAME_CONFIG.
6+
Under the hood we are integrating with Laravel Socialite and their configuration settings.
7+
8+
9+
## All Provider
10+
11+
All providers require at least:
12+
13+
```
14+
{PROVIDER}_CLIENT_ID
15+
{PROVIDER}_CLIENT_SECRET
16+
```
17+
18+
Additionally you should make sure that `LEAN_APP_URL` is set especially in cases where callback redirects are set to strict checks.
19+
20+
The redirect url is already set for you and is `yourdomain.com//advancedAuth/callback?driver={provider}`
21+
22+
Once the provider config is available in the environment file the UI will show a toggle to turn it on/off
23+
24+
### Authentik (Key: `AUTHENTIK`)
25+
[Docs][(https://github.com/SocialiteProviders/Auth0)](https://github.com/SocialiteProviders/Authentik)
26+
27+
Config Options
28+
```
29+
AUTHENTIK_BASE_URL
30+
AUTHENTIK_CLIENT_ID
31+
AUTHENTIK_CLIENT_SECRET
32+
```
33+
34+
### Auth0 (Key: `AUTH0`)
35+
[Docs](https://github.com/SocialiteProviders/Auth0)
36+
37+
Config Options
38+
```
39+
AUTH0_BASE_URL
40+
AUTH0_CLIENT_ID
41+
AUTH0_CLIENT_SECRET
42+
```
43+
44+
### Gitea (Key: `GITEA`)
45+
[Docs](https://github.com/SocialiteProviders/Gitea)
46+
47+
Config Options
48+
```
49+
GITEA_INSTANCE_URI
50+
GITEA_CLIENT_ID
51+
GITEA_CLIENT_SECRET
52+
```
53+
54+
### Github (Key: `GITHUB`)
55+
[Docs](https://github.com/SocialiteProviders/GitHub)
56+
57+
Config Options
58+
```
59+
GITHUB_CLIENT_ID
60+
GITHUB_CLIENT_SECRET
61+
```
62+
63+
### Gitlab (Key: `GITLAB`)
64+
[Docs](https://github.com/SocialiteProviders/GitLab)
65+
66+
Config Options
67+
```
68+
GITLAB_CLIENT_ID
69+
GITLAB_CLIENT_SECRET
70+
```
71+
72+
### Google (Key: `GOOGLE`)
73+
[Docs](https://github.com/SocialiteProviders/Google-Plus)
74+
75+
Config Options
76+
```
77+
GOOGLE_CLIENT_ID
78+
GOOGLE_CLIENT_SECRET
79+
```
80+
81+
### Keycloak (Key: `KEYCLOAK`)
82+
[Docs](https://github.com/SocialiteProviders/Keycloak)
83+
84+
Config Options
85+
```
86+
KEYCLOAK_CLIENT_ID
87+
KEYCLOAK_CLIENT_SECRET
88+
KEYCLOAK_BASE_URL
89+
KEYCLOAK_REALM
90+
```
91+
92+
### Laravel Passport (Key: `LARAVELPASSPORT`)
93+
[Docs](https://github.com/SocialiteProviders/Laravel-Passport)
94+
95+
Config Options
96+
```
97+
LARAVELPASSPORT_CLIENT_ID
98+
LARAVELPASSPORT_CLIENT_SECRET
99+
LARAVELPASSPORT_HOST
100+
```
101+
102+
### Microsoft (Key: `MICROSOFT`)
103+
[Docs](https://github.com/SocialiteProviders/Microsoft)
104+
105+
Config Options
106+
```
107+
MICROSOFT_CLIENT_ID
108+
MICROSOFT_CLIENT_SECRET
109+
MICROSOFT_PROXY //optional
110+
MICROSOFT_TENANT_ID //default: common
111+
MICROSOFT_TENANT_FIELDS // deefault: []
112+
MICROSOFT_INCLUDE_AVATAR // default: true
113+
```
114+
115+
### Microsoft Azure (Key: `AZURE`)
116+
[Docs](https://github.com/SocialiteProviders/Microsoft-Azure)
117+
118+
Config Options
119+
```
120+
AZURE_CLIENT_ID
121+
AZURE_CLIENT_SECRET
122+
AZURE_TENANT_ID
123+
AZURE_PROXY //optional
124+
```
125+
126+
### okta (Key: `OKTA`)
127+
[Docs](https://github.com/SocialiteProviders/Okta)
128+
129+
Config Options
130+
```
131+
OKTA_BASE_URL
132+
OKTA_CLIENT_ID
133+
OKTA_CLIENT_SECRET
134+
```
135+
136+
### PropelAuth (Key: `PROPELAUTH`)
137+
[Docs](https://github.com/SocialiteProviders/PropelAuth)
138+
139+
Config Options
140+
```
141+
PROPELAUTH_CLIENT_ID
142+
PROPELAUTH_CLIENT_SECRET
143+
PROPELAUTH_AUTH_URL
144+
```
145+
146+
### EduID (Key: `EDUID`)
147+
[Docs](https://github.com/SocialiteProviders/EduID)
148+
149+
Config Options
150+
```
151+
EDUID_CLIENT_ID
152+
EDUID_CLIENT_SECRET
153+
EDUID_USE_TEST_IDP //default: false
154+
```
155+
156+
### AppNet (Key: `APP.NET`)
157+
[Docs](https://github.com/SocialiteProviders/App.net)
158+
159+
Config Options
160+
```
161+
APP.NET_KEY
162+
APP.NET_SECRET
163+
```
164+
165+
### SAML 2.0 (Key: `SAML2`)
166+
[Docs](https://github.com/SocialiteProviders/Saml2)
167+
168+
Config Options (all file paths are relative to the root of leantime
169+
```
170+
SAML2_METADATA
171+
SAML2_ENTITY_ID
172+
SAML2_ACS
173+
SAML2_CERTIFICATE
174+
SAML2_ATTRIBUTE_MAP
175+
SAML2_VALIDATION_CLOCK_SKEW //default: 120
176+
SAML2_VALIDATION_REPEATED_ID_TTL //default: 365 * 24 * 60 * 60
177+
SAML2_SP_CERTIFICATE
178+
SAML2_SP_PRIVATE_KEY
179+
SAML2_SP_PRIVATE_KEY_PASSPHRASE
180+
SAML2_SP_SIGN_ASSERTIONS
181+
SAML2_SP_ENTITY_ID
182+
SAML2_SP_TECH_CONTACT_SURNAME
183+
SAML2_SP_TECH_CONTACT_GTIVENNAME
184+
SAML2_SP_TECH_CONTACT_EMAIL
185+
SAML2_SP_ORG_LANG
186+
SAML2_SP_ORG_NAME
187+
SAML2_SP_ORG_DISPLAY_NAME
188+
SAML2_SP_ORG_URL
189+
```

0 commit comments

Comments
 (0)