OpenAF Login Issue in teradataml 17.20.00.05 and 06 | Teradata VantageCloud Lake - Open Analytics Login Issue with teradataml 17.20.00.05 and 17.20.00.06 - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
March 2024
Language
English (United States)
Last Update
2024-04-09
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

teradataml 17.20.00.05 and 17.20.00.06 users cannot authenticate with VantageCloud Lake Open Analytics Framework APIs.

The root cause of this issue is that VantageCloud Lake requires creation of Open Analytics Framework OAuth client device before any client user can connect to Open Analytics Framework User Environment Service.

Interim Solution

  1. Server side: Open a Teradata incident on this issue, or request your Teradata account team to submit a Change Request (CR) to create the VantageCloud Lake Open Analytics Framework OAuth client device.
  2. Client side: Provide the client_id of the OAuth client device to the set_auth_token() teradataml API.
    For example:
    set_auth_token(ues_url=getpass.getpass("ues_url : "), client_id)

    client_id value has the format <org_name>-oaf-device, where <org_name> is the organization name, which can be taken from the URL to access the VantageCloud Lake Console. For example: https://<organization_name>.innovationlabs.teradata.com/

    With teradataml 17.20.00.07, client_id is optional. teradataml will auto-populate the client_id value from ues_url.