Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to integrate apple in keycloak #18

Open
Karthik1152 opened this issue Nov 25, 2021 · 5 comments
Open

unable to integrate apple in keycloak #18

Karthik1152 opened this issue Nov 25, 2021 · 5 comments

Comments

@Karthik1152
Copy link

Failed to make identity provider oauth callback: java.lang.IllegalArgumentException: Illegal base64 character 2e
at java.base/java.util.Base64$Decoder.decode0(Base64.java:743)
at java.base/java.util.Base64$Decoder.decode(Base64.java:535)
at java.base/java.util.Base64$Decoder.decode(Base64.java:558)

@genewoo
Copy link

genewoo commented Dec 13, 2021

I met the same issue as this issue described.

@genewoo
Copy link

genewoo commented Dec 13, 2021

I thought you might copy the return char into the secret

@Abhishek-Acme
Copy link

You are missing the step 2 from the readme file

@Karthik1152
Copy link
Author

step 2 means

You are missing the step 2 from the readme file

Do you mean installing the JAR
I installed the jar file. after that only I got the apple value in keycloak oidc dropdown. then I copied the client secret , team id, and key id available in the apple developer console . may I know which step i missed

@Abhishek-Acme
Copy link

Abhishek-Acme commented Mar 3, 2022

No I mean this
Fill Client secret with the base 64 content of your private key file (trim delimiters and new lines).

e.g., if your private key is:

-----BEGIN PRIVATE KEY-----
Rp6vMlHPYTHnyucsPvFk8gTzdYtTueMbmVznAtkUKhD9HPcI3bLKDrr0b2mNJLfS
tsyvhbpyMUIpaffKQcY7IUuM20ecYBjiyjkLuX5eDQUInWUINfCCyXQnNdSU4K1j
2z4IJrvacQz1PFrL0Tj4lt72jSxikzMBHWsGdFyT90bx0R26GR4YCudKxltozVrK
PsUC1cdy
-----END PRIVATE KEY-----
then you should set Client secret with:

Rp6vMlHPYTHnyucsPvFk8gTzdYtTueMbmVznAtkUKhD9HPcI3bLKDrr0b2mNJLfStsyvhbpyMUIpaffKQcY7IUuM20ecYBjiy

I had a similar issue and it fixed after I properly formatted the client secret.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants