You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeChecker also supports OAUTH-based authentication. The `authentication.method_oauth` section contains the configuration for OAUTH authentication for different OAUTH providers. The server can be configured for different Oauth `providers` .Users can be added into the `allowed_users`
The provider field contains configuration details for OAuth providers. Each provider's configuration includes but may vary depending on provider:
340
+
341
+
*`enabled`
342
+
343
+
Indicates if the Oauth provider is enabled
344
+
345
+
*`oauth_client_id`
346
+
347
+
Contains client ID provided by the OAuth provider.
348
+
349
+
350
+
*`oauth_client_secret`
351
+
352
+
The client secret provided by the OAuth provider.
353
+
354
+
*`oauth_authorization_uri`
355
+
356
+
This link in used for redirecting user for perovider's authentication page
357
+
358
+
*`oauth_redirect_uri`
359
+
360
+
The oauth_redirect_uri URI to which the OAuth provider will redirect after authorization and in some providers used for confirming the redirection URI.
361
+
362
+
*`oauth_token_uri`
363
+
364
+
The URI to exchange the authorization code for an access token.
365
+
366
+
*`oauth_user_info_uri`
367
+
368
+
The URI to fetch the authenticated user's information.
369
+
370
+
*`oauth_scope`
371
+
372
+
The scope of access requested from the OAuth provider.
373
+
374
+
*`oauth_user_info_mapping`
375
+
376
+
A mapping of user info fields from the provider to local fields.
377
+
378
+
*`username`
379
+
380
+
Field for the username.
381
+
*`email`
382
+
383
+
Field for the email.
384
+
*`fullname`
385
+
386
+
Field for the fullname.
387
+
*`allowed_users`
388
+
389
+
A list of allowed users differently configured for each provider
#### Details per each provider <aname ="details-per-each-provider"></a>
439
+
440
+
* For Google OAuth to function correctly, the `oauth_redirect_uri` in application's configuration must exactly match the `Authorized redirect URIs` specified in the Google API Console.
441
+
442
+
* For GitHub to redirect correctly, set the `Authorization callback URL` to the login page of CodeChecker. This ensures proper processing of the authorization. Additionally, set the homepage URL to the homepage of CodeChecker.
0 commit comments