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

ProConnect - Display and use dedicated button #157

Open
Gaetanbrl opened this issue Dec 18, 2024 · 2 comments
Open

ProConnect - Display and use dedicated button #157

Gaetanbrl opened this issue Dec 18, 2024 · 2 comments

Comments

@Gaetanbrl
Copy link

Gaetanbrl commented Dec 18, 2024

ref ProConnect proposal

To use ProConnect, a user will need to click on ProConnect button.

image

Button details is available here :

https://github.com/numerique-gouv/proconnect-documentation/blob/main/doc_fs/bouton_proconnect.md

@Gaetanbrl
Copy link
Author

Currently,

Authenntication UI display a standard button :

image

... due to this config (file gateway/security.yaml):

georchestra:
  gateway:
    security:
      oauth2:
        enabled: true
...........
spring:
  security:
    oauth2:
      client:
        registration:
          cas-oauth2:
................

Gaetanbrl referenced this issue in jdev-org/georchestra-gateway Dec 24, 2024
@Gaetanbrl
Copy link
Author

Here a config that seems correct (but depends of #161) :

spring:
  security:
    oauth2:
      client:
        registration:
          proconnect:
            client-name: proconnect
            client-id: idtochange
            client-secret: secrettochange
            authorization-grant-type: authorization_code
            redirect-uri: "https://dev.gis.jdev/login"
            scope: openid,siret,email
        provider:
          proconnect:
            authorization-uri: https://fca.integ01.dev-agentconnect.fr/api/v2/authorize
            token-uri: https://fca.integ01.dev-agentconnect.fr/api/v2/token
            user-info-uri: https://fca.integ01.dev-agentconnect.fr/api/v2/userinfo
            end-session-uri: https://fca.integ01.dev-agentconnect.fr/api/v2/session/end
            user-name-attribute: sub

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

No branches or pull requests

1 participant