diff --git a/lib/AppleAuthModule.js b/lib/AppleAuthModule.js index 45cf4ad2..d1c6830c 100644 --- a/lib/AppleAuthModule.js +++ b/lib/AppleAuthModule.js @@ -103,6 +103,8 @@ export default class AppleAuthModule { ) { throwIfNotSupported(this.isSupported); + requestOptions = { ...requestOptions }; + if (!Object.hasOwnProperty.call(requestOptions, ['nonceEnabled'])) { requestOptions.nonceEnabled = true; } else if (typeof requestOptions.nonceEnabled !== 'boolean') {