-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SandyCT97
committed
Aug 7, 2018
1 parent
6474619
commit 8aa6ad5
Showing
24 changed files
with
183 additions
and
6,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/** | ||
* Init the lougout process by calling logoutHelper.logout() of helpers/logout. | ||
* Init the logout process by calling logoutHelper.logout() of helpers/logout. | ||
* @see @link{ https://partenaires.franceconnect.gouv.fr/fcp/fournisseur-service# } | ||
*/ | ||
import config from '../config/config.json'; | ||
import idHintToken from '../helpers/idHintToken'; | ||
import idHintToken from './idHintToken'; | ||
|
||
/** | ||
* Format the url 's that is used in a redirect call to France Connect logout API endpoint | ||
* @returns {string} | ||
*/ | ||
exports.logout = () => `${config.FC_URL}/api/v1/logout?id_token_hint=${idHintToken.getHintToken()}` | ||
+ `&state=${config.STATE}&post_logout_redirect_uri=${config.LOGOUT_REDIRECT_URL}`; | ||
exports.logout = () => `${config.LOGOUT_URL}?id_token_hint=${idHintToken.getHintToken()}` | ||
+ `&state=${config.STATE}&post_logout_redirect_uri=${config.LOGOUT_REDIRECT_URL}`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.