No matter what ever protocol you used in wso2 identity server. You can use this log out request to logout from wso2 identity server.
https://localhost:9443/commonauth?commonAuthLogout=true&type=type&sessionDataKey=1234567&commonAuthCallerPath=http://localhost:8080/PassiveSTSSampleApp&relyingParty=PassiveSTSSampleApp
commonAuthLogout log out parameter. this parameter should be 'true' if you create a logout request
sessionDataKey is any random value.
commonAuthCallerPath is the redirection url
relyingParty is registered SP application name which is registered in the WSO2IS
You can directly talk to /commonauth without invoking other endpoint. So this can be used for any protocol.
For an example I'm going to send a log out request to an application which used passive-sts.
Step 1 :-
Please create a setup following this blog[1].
Step 2 :-
log in to the application.
Step 3 :-
Use below url to log out from the application.
https://localhost:9443/commonauth?commonAuthLogout=true&type=passive-sts&sessionDataKey=1234567&commonAuthCallerPath=http://localhost:8080/PassiveSTSSampleApp&relyingParty=PassiveSTSSampleApp
[1] http://maduraharshana.blogspot.com/2016/02/test-wso2-identity-servers-passive-sts.html
https://localhost:9443/commonauth?commonAuthLogout=true&type=type&sessionDataKey=1234567&commonAuthCallerPath=http://localhost:8080/PassiveSTSSampleApp&relyingParty=PassiveSTSSampleApp
commonAuthLogout log out parameter. this parameter should be 'true' if you create a logout request
sessionDataKey is any random value.
commonAuthCallerPath is the redirection url
relyingParty is registered SP application name which is registered in the WSO2IS
You can directly talk to /commonauth without invoking other endpoint. So this can be used for any protocol.
For an example I'm going to send a log out request to an application which used passive-sts.
Step 1 :-
Please create a setup following this blog[1].
Step 2 :-
log in to the application.
Step 3 :-
Use below url to log out from the application.
https://localhost:9443/commonauth?commonAuthLogout=true&type=passive-sts&sessionDataKey=1234567&commonAuthCallerPath=http://localhost:8080/PassiveSTSSampleApp&relyingParty=PassiveSTSSampleApp
[1] http://maduraharshana.blogspot.com/2016/02/test-wso2-identity-servers-passive-sts.html
Comments
Post a Comment