Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OIDC with Passage2 #508

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Add OIDC with Passage2 #508

merged 1 commit into from
Jul 9, 2024

Conversation

thomashbrnrd
Copy link
Collaborator

No description provided.

@ClemGerard
Copy link

On va avoir besoin d'une description du parcours utilisateurs associé à ce que tu as implémenté.
Si possible une démo même.
besoin de s'authentifier avec une mire login/mot de passe ?
ou bien le token Proxyma suffit ?
Bouton SSO pour reuse le token proxyma?

Copy link
Collaborator

@leihuayi leihuayi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than using .env file (which we will need to put in environment), couldn't we set the variables in the frontend dockerfile at build ?

....

FROM base as dev

ENV VUE_APP_OIDC_AUTHORITY=XXX
ENV VUE_APP_OIDC_CLIENT_ID=YYY

CMD ["npm", "run", "dev"]

FROM base as build


ENV VUE_APP_OIDC_AUTHORITY=XXX
ENV VUE_APP_OIDC_CLIENT_ID=YYY

RUN npm run build

docker-compose.yml Show resolved Hide resolved
docker-compose.yml Show resolved Hide resolved
.env.development Outdated Show resolved Hide resolved
.env.production Outdated Show resolved Hide resolved
@thomashbrnrd thomashbrnrd force-pushed the passage2 branch 2 times, most recently from a1db6e9 to 27b6794 Compare June 24, 2024 13:51
@thomashbrnrd thomashbrnrd force-pushed the passage2 branch 2 times, most recently from 8297cf6 to 49de2ed Compare June 27, 2024 12:48
@thomashbrnrd thomashbrnrd linked an issue Jun 27, 2024 that may be closed by this pull request
2 tasks
@thomashbrnrd
Copy link
Collaborator Author

Grâce à cette PR côté frontend tout est présent, il faudra vérifier si il ne faut pas changer les scops en fonction de Passage2 car tout est testé localement avec un keycloak générique, dont la config est la suivante :
basegun (1).json

@thomashbrnrd thomashbrnrd marked this pull request as ready for review June 27, 2024 12:50
@thomashbrnrd thomashbrnrd merged commit 4867495 into develop Jul 9, 2024
6 checks passed
@thomashbrnrd thomashbrnrd deleted the passage2 branch July 9, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mettre en place l'authentification
3 participants