<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationProviderExtensionLoginConfiguration/init(clientID:issuer:tokenEndpointURL:jwksEndpointURL:audience:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationProviderExtensionLoginConfiguration(im)initWithClientID:issuer:tokenEndpointURL:jwksEndpointURL:audience:"
  },
  "title" : "init(clientID:issuer:tokenEndpointURL:jwksEndpointURL:audience:)"
}
-->

# init(clientID:issuer:tokenEndpointURL:jwksEndpointURL:audience:)

Creates a configuration with the required values.

```
init(clientID: String, issuer: String, tokenEndpointURL: URL, jwksEndpointURL: URL, audience: String?)
```

## Parameters

`clientID`

The OAuth `client_id` for the login.

`issuer`

The OAuth `issuer` for validating the token.

`tokenEndpointURL`

The token endpoint for login.

`jwksEndpointURL`

The URL that retrieves the JSON Web Key Set (JWKS).

`audience`

The OAuth `audence` for embedded assertions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)