---
title: state
framework: signinwithapplejs
role: symbol
role_heading: Instance Property
path: signinwithapplejs/clientconfigi/state
---

# state

The current state of the request.

## Declaration

```data
attribute string state;
```

## Discussion

Discussion You create and send this property to Apple, and Apple returns it during authentication. Provide information about the state of your app inside of the property, such as “Initial user authentication request”. Use this property to help authenticate the returned response by comparing Apple’s response to the state you sent.

## See Also

### Configuring the client object

- [clientId](signinwithapplejs/clientconfigi/clientid.md)
- [redirectURI](signinwithapplejs/clientconfigi/redirecturi.md)
- [scope](signinwithapplejs/clientconfigi/scope.md)
- [nonce](signinwithapplejs/clientconfigi/nonce.md)
- [usePopup](signinwithapplejs/clientconfigi/usepopup.md)
