mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 16:57:23 +00:00
fix: apple idp configuration (#6575)
* docs(apple-idp): remove client id and secret from documentation, as it is not needed * fix(apple-idp): fix reading of key file by using content type of file
This commit is contained in:
parent
9266f8f00b
commit
e5083b62a6
@ -246,7 +246,8 @@ export class ProviderAppleComponent {
|
||||
return (e) => {
|
||||
const keyBase64 = e.target?.result;
|
||||
if (keyBase64 && typeof keyBase64 === 'string') {
|
||||
const cropped = keyBase64.replace('data:application/octet-stream;base64,', '');
|
||||
const contentType = file.type || 'application/octet-stream';
|
||||
const cropped = keyBase64.replace(`data:${contentType};base64,`, '');
|
||||
this.privateKey?.setValue(cropped);
|
||||
}
|
||||
};
|
||||
|
@ -35,7 +35,6 @@ import TestSetup from './_test_setup.mdx';
|
||||
8. Add the redirect uri in the Return URLs
|
||||
- {your-domain}/ui/login/login/externalidp/callback/form
|
||||
- Example redirect url for the domain `https://acme-gzoe4x.zitadel.cloud` would look like this: `https://acme-gzoe4x.zitadel.cloud/ui/login/login/externalidp/callback/form`
|
||||
9. Save the Client ID and Client secret
|
||||
|
||||

|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user