-
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.
* add env example for AC replace cookie session package with express-session * add fake secret to .env * replace client id value * fix: lint + console.error * refactor: rename .env file * feat: udpate scopes used in AC * feat: show agentconnect button in agentconnect.env * refacto: do not run tests twice per push + fix typos * fix: bypass cypress session clearing by setting session cookie on every response --------- Co-authored-by: Raphaël Dubigny <[email protected]>
- Loading branch information
1 parent
406da3c
commit 9ca97dc
Showing
8 changed files
with
113 additions
and
123 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ name: CI | |
|
||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- "**" | ||
- "!master" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
HOST: http://localhost:3000 | ||
PORT: 3000 | ||
SITE_TITLE: "Bonjour monde !" | ||
STYLESHEET_URL: https://unpkg.com/bamboo.css | ||
CALLBACK_URL: /login-callback | ||
MCP_CLIENT_ID: client_id_localhost:3000 | ||
MCP_CLIENT_SECRET: client_secret_localhost:3000 | ||
MCP_PROVIDER: https://fca.integ01.dev-agentconnect.fr/api/v2 | ||
MCP_SCOPES: "openid given_name usual_name email phone uid siren siret idp_id idp_acr" | ||
LOGIN_HINT: "" | ||
MCP_ID_TOKEN_SIGNED_RESPONSE_ALG: RS256 | ||
MCP_USERINFO_SIGNED_RESPONSE_ALG: RS256 | ||
ACR_VALUES: eidas1 | ||
SESSION_SECRET: CeciEstUnFauxSecret | ||
SHOW_AGENTCONNECT_BUTTON: true |
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,15 +1,15 @@ | ||
#language: fr | ||
Fonctionnalité: Connexion de [email protected] | ||
Scénario: Connexion d'un utilisateur | ||
|
||
Scénario: Connexion d'un utilisateur | ||
Etant donné que je navigue sur la page | ||
Alors je vois "Bonjour monde !" | ||
Quand je clique sur le bouton MonComptePro | ||
|
||
Quand je me connecte en tant que user@yopmail.com sur moncomptepro | ||
Et je vois "Votre organisation de rattachement" sur moncomptepro | ||
Et je click sur "Continuer" sur moncomptepro | ||
Et je clique sur "Continuer" sur moncomptepro | ||
|
||
Alors je suis redirigé sur "/" | ||
Et je vois "Information utilisateur" | ||
Et je vois "Information utilisateur" | ||
Et je vois "[email protected]" |
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.