---
title: "Generate OAuth window URI"
method: GET
path: "/members/{member_guid}/oauth_window_uri"
tags: ["members"]
---

# Generate OAuth window URI

`GET /members/{member_guid}/oauth_window_uri`

This endpoint will generate an `oauth_window_uri` for the specified `member`.    Generating a new `oauth_window_uri` is necessary in order to send the end user through the OAuth process again. There are several situations where you might want to do this, like if a previous attempt at OAuth failed because the end user closed the OAuth window before completing the process, or the financial institution has revoked a previous OAuth token, or the token has expired. <br></br><br></br> The `member` in question must be connected to an institution which supports OAuth. If the institution does not support OAuth, a `400 Bad Request` error will be returned with the message `Member cannot use OAuth`.

## Path parameters

- `member_guid` string, required

## Query parameters

- `client_redirect_url` string
- `referral_source` string
- `ui_message_webview_url_scheme` string
- `skip_aggregation` string

## Response `200`

OK

---

[API](https://skmtc.net/mx/apis/consent-management-v4-api.md) · [All operations](https://skmtc.net/mx/apis/consent-management-v4-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mx/consent-management-v4-api/revisions/bf6bb86ee0c8/schema)
