aws / amazon-sagemaker-feedback

Amazon SageMaker Public Feedback Dashboard
Creative Commons Attribution Share Alike 4.0 International
5 stars 1 forks source link

Spurious "Permission issue detected" banner in SSO mode #73

Closed samthomson-tl closed 4 months ago

samthomson-tl commented 5 months ago

Product Version

Issue Description

A banner message incorrectly states that there is apermissions issue when logged in using SSO.

Permission issue detected. You may not be able to open any applications.

To ensure full functionality, please update your permission or work with your administrator to allow sagemaker:CreatePresignedDomainUrl action in your execution role. Read more Or revert to the Studio Classic experience. Read more

Screenshot 2024-04-25 at 09 54 50

In our case, the execution role has the AmazonSageMakerFullAccess policy attached, which includes the sagemaker:CreatePresignedDomainUrl action on all resources.

Expected Behavior

No banner is shown.

Observed Behavior

Banner is shown. Probably a false-positive: browser console shows that a 400 response is received from a CreatePresignedDomainUrl request, because this API call is not supported for SSO authentication.

XHRPOST
https://api.sagemaker.us-east-1.amazonaws.com/
[HTTP/1.1 400 Bad Request 382ms]

__type  "ValidationException"
message "Domain is using unsupported AuthMode: Sso"

Product Category

No response

Feedback Category

User Interface

Other Details

No response

rjtshrm commented 5 months ago

I am also having the same issue.

poojak13 commented 4 months ago

Hi, thanks for reporting this. This issue is now fixed.