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

PRO/FranceConnect & callback URI #161

Open
Gaetanbrl opened this issue Dec 20, 2024 · 0 comments
Open

PRO/FranceConnect & callback URI #161

Gaetanbrl opened this issue Dec 20, 2024 · 0 comments

Comments

@Gaetanbrl
Copy link

Gaetanbrl commented Dec 20, 2024

As part of ProConnect integration,
I get a callback URI error after click on dedicated oauth2 button button.

Here ma config as expected by the gateway (checked with https://fca.integ01.dev-agentconnect.fr/api/v2/.well-known/openid-configuration):

spring:
  security:
    oauth2:
      client:
        registration:
          proconnect:
            client-name: proconnect
            client-id: idGivenByProConnect
            client-secret: secretGivenByProConnect
            authorization-grant-type: authorization_code
            redirect-uri: https://dev.jdev.fr/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

I can't identify if this error is due to the redirect-uri parameter or a compatibility problem with the gateway (or maybe a config trouble between FranceConnect and client-id registration...).

I also tested with this redirect-uri param without success :

redirect-uri: "{baseUrl}/login/oauth2/code/proconnect"

How to get more details from gateway side ?

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