---
title: "POST /azuretoken/{issuer}"
method: POST
path: "/azuretoken/{issuer}"
tags: ["well-known-controller"]
---

# POST /azuretoken/{issuer}

`POST /azuretoken/{issuer}`

## Request

- Base URL: `http://localhost:8989/sosialhjelp/mock-alt-api`
- URL: `http://localhost:8989/sosialhjelp/mock-alt-api/azuretoken/{issuer}`
- Auth: none declared

## Path parameters

- `issuer` string, required

## Request body

- AzureTokenRequest
  - `grant_type` string
  - `scope` string
  - `assertion` string
  - `audience` string

## Response `200`

OK

- AzuredingsResponse
  - `token_type` string, required
  - `scope` string, required
  - `expires_in` integer, required
  - `ext_expires_in` integer, required
  - `access_token` string, required
  - `refresh_token` string, required

## Changes

- **2024-03-14** `df9add20f594`: 1 breaking, 5 info
  - the request's body type changed from `string` to `object`
  - added the new optional request property `assertion`
  - added the new optional request property `audience`
  - added the new optional request property `grant_type`
  - …2 more

[Operation history](https://skmtc.dev/navikt/apis/nav-it-mock-alt-api/changes/azuretoken/:issuer/post.md)

---

[API](https://skmtc.dev/navikt/apis/nav-it-mock-alt-api.md) - [All operations](https://skmtc.dev/navikt/apis/nav-it-mock-alt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/navikt/apis/nav-it-mock-alt-api/revisions/b6016b2c18e1?raw)
