mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Merge pull request #335 from ets-cfuhrman-pfe/fuhrmanator/issue278
Some checks failed
CI/CD Pipeline for Backend / build_and_push_backend (push) Failing after 37s
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Failing after 18s
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Failing after 17s
Tests / lint-and-tests (client) (push) Successful in 1m11s
Tests / lint-and-tests (server) (push) Successful in 30s
Some checks failed
CI/CD Pipeline for Backend / build_and_push_backend (push) Failing after 37s
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Failing after 18s
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Failing after 17s
Tests / lint-and-tests (client) (push) Successful in 1m11s
Tests / lint-and-tests (server) (push) Successful in 30s
Fixes La page consentement revient toujours
This commit is contained in:
commit
3238ee1a22
1 changed files with 1 additions and 2 deletions
|
|
@ -75,8 +75,7 @@ class PassportOAuth {
|
||||||
|
|
||||||
app.get(`${endpoint}/${name}`, (req, res, next) => {
|
app.get(`${endpoint}/${name}`, (req, res, next) => {
|
||||||
passport.authenticate(name, {
|
passport.authenticate(name, {
|
||||||
scope: scope,
|
scope: scope
|
||||||
prompt: 'consent'
|
|
||||||
})(req, res, next);
|
})(req, res, next);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue