Obtaining Carrier Endpoints for Users

for iOS

Your secure server now needs to get the right carrier endpoints for this user. This is done by requesting the OpenID Connect configuration with the help of two parameters: mccmnc and client_id. The mccmnc is set of 6 digits located on every SIM card identifying the country code (mcc) and operator code (mnc). Meanwhile, the client_id allows the carrier to identify your registered app.

GET
http://discoveryissuer.myzenkey.com/.well-known/openid_configuration? 
    mccmnc=123456
    &client_id=ccid-xxxxxxxxxxxxx

The response will include all relevant endpoints.

{
    “issuer”: “https://mno.com”,
    “authorization_endpoint”: “https://mno.com/connect/authorize”,
    “token_endpoint”: https://mno.com/connect/token,
    “userinfo_endpoint”: “https://mno.com/connect/userinfo”
}

Did this page help you?