BookmarkSubscribeRSS Feed
srinivasa_attot
Fluorite | Level 6

Hi Friends,

 

We have successfully deployed SAS VIYA on Kubernetes and all the required pods are running. Now we are planning to enable oauth authentication. As per the document, the details were updated. When trying to access using oauth, I am seeing the below error. Can someone please help?

 

Error: There was an error when authenticating against the external identity provider: Keys cannot be null or empty 

 

Regards,

Sirnivas

 

 

6 REPLIES 6
gwootton
SAS Super FREQ
This error suggests the tokenKey or tokenKeyUrl field is empty in your sas.logon.oauth.providers definition.
--
Greg Wootton | Principal Systems Technical Support Engineer
srinivasa_attot
Fluorite | Level 6

Hi @gwootton,

 

They are empty and not mandatory fields.

 

Regards,

Srinivas

smopati
SAS Employee

Srinivas,

Do you have a discovery URL instead, so it can obtain the jwks_uri from it ?

srinivasa_attot
Fluorite | Level 6

No Discovery url is added. But when i tried after adding it gave me a different error.

 

Error is "The system could not obtain group memberships for <user>

gwootton
SAS Super FREQ
This means your authenticated identity is not in the identities service, so SASLogon cannot build your authentication token.

This usually means either you have not configured identity provisioning, or your identity provider is using a different field for account ID than what is being sent by your OIDC provider.
--
Greg Wootton | Principal Systems Technical Support Engineer
gwootton
SAS Super FREQ
You must have either discoveryUrl, tokenKey, or tokenKeyUrl populated, but no one of them is mandatory.
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 1496 views
  • 1 like
  • 3 in conversation