EmberJS Support

I’ve got that part covered, but that’s ahead of where I am at the moment.

I’ve just gotten the response from the Widget, I need to send that as a REST request to my backend to return a JWT or something (I’m not sure yet) to the client to complete the authentication process for Ember (using ember-simple-auth).

@PostMapping("/auth/login")
public Response authResponse(@RequestBody String oktaResponse) {
    
    // Do something with data from sign in widget

    return Response.status(Response.Status.OK).entity("Something Here").build();
}

Then all following calls will be handled with Authorization Bearer headers;

I guess it’s just the actual login with the backend service is where I’m stuck.

1 Like