Hi
I want to use API for Google identity provider with SpringBoot, I'm using fusionAuth dependency but I have problem with creating request:
Here is my code and now I don't know how to set all values that are needed for this request:
IdentityProviderRequest request = new IdentityProviderRequest();
request.identityProvider.applicationConfiguration.put(UUID.fromString(appId), null);
fusionAuthClient.createIdentityProvider(null, request);
How to add all these values that are shown in JSON example with this Java code:
{
"identityProvider" : {
"applicationConfiguration" : {
"1c212e59-0d0e-6b1a-ad48-f4f92793be32" : {
"createRegistration" : true,
"enabled" : true
}
},
"buttonText" : "Login with Google",
"client_id" : "254311943570-8e2i2hds0qdnee4124socceeh2q2mtjl.apps.googleusercontent.com",
"client_secret" : "BRr7x7xz_-cXxIFznBDIdxF1",
"debug": false,
"enabled" : true,
"scope" : "profile",
"type" : "Google"
}
}
Are there any example of Java code for this or if someone can write here it would be great
Also I want to ask what you suggest to use for google signin/signup, I have custom sign in and sign up forms and for that purpose using fusioAuth Login API, and what is best way to integrate google provider so if user click on that button for sign in with google that it open google sign in form? Is it possible to go with these Google APIs from fusionAuth pr you will suggest me something else?
@dan @robotdan