
wt2n4 (wt2n4) asked a question.
Hi guys!
I made an app which uses Okta for authentication.
A third party partner wants to integrate with me, the user must pass from the partner page to my pagw without entering the password, with a SSO method.
How can I do it? I can create the user server side but i am not able to log in him 😞
here is the Server side code:
```
@GetMapping
public ResponseEntity doStuff(){
Client client = Clients.builder()
.setOrgUrl("XXXXX")
.setClientId("XXXX")
.setClientCredentials(new TokenClientCredentials("XXXXX"))
.build();
Map<String, Object> data = new HashMap<>();
data.put("privacy_consent", true);
data.put("market_consent", true);
data.put("group_id", "XXX");
User user = UserBuilder.instance()
.setEmail("joe.coder"+(int)(Math.random()*1000)+"@example.com")
.setFirstName("JoeTEST")
.setLastName("CodeTEST")
.setProfileProperties(data)
.addGroup("XX")
.setActive(true)
.setPassword("XXXX".toCharArray())
.buildAndCreate(client)
;
return ResponseEntity.ok(user);
}
```
May you help me?

Hello @wt2n4 (wt2n4) Thank you for reacting out to our Community!
This should be achievable through OIDC or OAuth applications, for this please see our documentation on how to implement this:
https://developer.okta.com/docs/reference/api/oidc/
My advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
https://devforum.okta.com/