Tagged: AM, Identity Gateway, logout
This topic has 4 replies, 2 voices, and was last updated 1 year, 6 months ago by Amalg.
-
AuthorPosts
-
September 20, 2019 at 5:58 am #26527
Amalg
ParticipantApplication A is protected by Identity Gateway and when a user clicks on the log out button, I want to destory the session and redirect the user to a openam log out page.
Any pointers or configuration sample would be helpful for this.
September 20, 2019 at 6:10 am #26528srinath.m
ParticipantHi @Amalg,
Logout with a valid session:
Trying the logout from XUI : http://openam.example.com:8080/openam/XUI/#logout/&goto=http://bbc.co.ukredirects works.
You can find more details here
thanks,
SrinathSeptember 20, 2019 at 7:13 am #26529Amalg
ParticipantHi @srinath-m,
This is the application url which is accessed via IG
http://local.com:9089/cookiesession/ and the user reaches the pagehttp://local.connectme.us:9089/cookiesession/home.jsp. There is log out button and when the user click on it, IG must destory the session and redirect the user to AM log out page.
Here AM is protected by IG also http://local.com:9089/openam/.Directly configuring the logout action is throwing an forbidden error and redirects the user to the login page, which is not desirable.
Is there a way i can configure the route to log out?
IG Route:
{
“name”: “cookiesession”,
“baseURI”: “http://local.com:8080”,
“condition”: “${matches(request.uri.path, ‘^/cookiesession’)}”,
“capture”: [
“response”,
“request”
],
“heap”: [
{
“name”: “ReverseProxyHandler”,
“type”: “ReverseProxyHandler”,
“capture”: [
“response”,
“request”
]
},
{
“name”: “capture”,
“type”: “CaptureDecorator”,
“config”: {
“captureEntity”: true,
“captureContext”: true
}
},
{
“name”: “ForgeRockClientHandler”,
“type”: “Chain”,
“config”: {
“filters”: [
“TransactionIdOutboundFilter”
],
“handler”: “ClientHandler”
},
“capture”: [
“response”,
“request”
]
}
],
“handler”: “ReverseProxyHandler”
}September 20, 2019 at 8:32 am #26530srinath.m
ParticipantHi ,
In our use case, we are protecting our applications by IG and in the application, we are using AM logout url to logout of the application.
https://openam.example.com/openam/UI/Logout/ – This destroys the session and redirect to AM logout page.September 20, 2019 at 9:46 am #26531Amalg
ParticipantThanks a lot
-
AuthorPosts
You must be logged in to reply to this topic.