mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:17:32 +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:

committed by
GitHub

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);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user