Hi,
I have configured oauth2 for a third party provider called CyberArk. Login functionality is working as expected but, after logout the below URL is getting generated and the post_logout_redirect_uri is getting set automatically to localhost/local IP of the machine. Is there any way to change or customise the post_logout_redirect_uri parameter?
https://domain/OAuth2/EndSessionV2/projectName?id_token_hint=someToken&post_logout_redirect_uri=http://localhost:8080/contextName
Have configured the following things in the application:
spring.security.oauth2.client.registration.cyber.client-id=client-id
spring.security.oauth2.client.registration.cyber.client-secret=secret
spring.security.oauth2.client.registration.cyber.scope=openid, profile, email
spring.security.oauth2.client.provider.cyber.issuer-uri=https://domain/projectName/
spring.security.oauth2.client.provider.cyber.token-uri=https://domain/OAuth2/Token/projectName
spring.security.oauth2.client.provider.cyber.authorization-uri=https://domain/OAuth2/Authorize/projectName
spring.security.oauth2.resourceserver.jwt.issuer-uri=https://domain/projectName/
spring.security.oauth2.client.registration.cyber.redirect-uri=https://myJmixApplicationDomain/applicationContext/login/oauth2/code/cyber
spring.security.oauth2.client.provider.cyber.authorization-grant-type=authorization_code
spring.security.oauth2.client.provider.cyber.user-name-attribute=unique_name
spring.security.oauth2.client.provider.cyber.jwk-set-uri=https://domain/OAuth2/Keys/projectName