@@ -413,24 +413,24 @@ CodeChecker also supports OAuth-based authentication. The `authentication.method
413
413
Key: ` signum ` – uses the user's Signum (a company-specific unique identifier).
414
414
~~~ {.json}
415
415
"method_oauth": {
416
- "enabled": false,
417
- "providers": {
418
- "example_provider": {
419
- "enabled": false,
420
- "client_id": "client id",
421
- "client_secret": "client secret",
422
- "authorization_url": "https://accounts.google.com/o/oauth2/auth",
423
- "callback_url": "http://localhost:8080/login/OAuthLogin/provider",
424
- "token_url": "https://accounts.google.com/o/oauth2/token",
425
- "user_info_url": "https://www.googleapis.com/oauth2/v1/userinfo",
426
- "user_emails_url": "https://api.github.com/user/emails",
427
- "scope": "openid email profile",
428
- "user_info_mapping": {
429
- "username": "email"
430
- }
416
+ "enabled": false,
417
+ "providers": {
418
+ "example_provider": {
419
+ "enabled": false,
420
+ "client_id": "client id",
421
+ "client_secret": "client secret",
422
+ "authorization_url": "https://accounts.google.com/o/oauth2/auth",
423
+ "callback_url": "http://localhost:8080/login/OAuthLogin/provider",
424
+ "token_url": "https://accounts.google.com/o/oauth2/token",
425
+ "user_info_url": "https://www.googleapis.com/oauth2/v1/userinfo",
426
+ "user_emails_url": "https://api.github.com/user/emails",
427
+ "scope": "openid email profile",
428
+ "user_info_mapping": {
429
+ "username": "email"
431
430
}
432
431
}
433
432
}
433
+ }
434
434
~~~
435
435
436
436
#### OAuth Details per each provider <a name =" oauth-details-per-each-provider " ></a >
0 commit comments