add security for identityGateway
add security for indentityGateway