Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #702 from rajsarkapally/loginexception
Browse files Browse the repository at this point in the history
Orchestra Logout exception
  • Loading branch information
dilipdevaraj-sfdc committed Jan 16, 2018
2 parents 38c31da + e03a316 commit 1ad0933
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public Response login(@Context UriInfo uriInfo, final CredentialsDto creds) {
@Description("Terminates a user session. Not needed for existing auth api. This is just a placeholder method.")
@Path("/logout")
public Response logout(@Context UriInfo uriInfo) {
Response response = Response.temporaryRedirect(UriBuilder.fromUri(uriInfo.getBaseUri() + "v2/auth/logout").build()).build();
return response;
return Response.ok("You have logged out.").build();
}
}
/* Copyright (c) 2016, Salesforce.com, Inc. All rights reserved. */

0 comments on commit 1ad0933

Please sign in to comment.