You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
500 error when attempting POST {{host}}/oauth/token:
ValueError: Scopes are required when using the OAUTH_ROOT_CLIENT_ID for POST {{host}}/oauth/token
Cause
POST {{host}}/oauth/token does not pass in needed scopes to fideslib through ClientDetail.get()
Steps to Reproduce
make server on fidesops
use postman to ping POST {{host}}/oauth/token
Expected behavior
200 OK
Additional info
Add a test for root client oauth:
class TestAcquireAccessToken:
def test_get_access_token_root_client(self, db, url, api_client):
data = {
"client_id": config.security.OAUTH_ROOT_CLIENT_ID,
"client_secret": config.security.OAUTH_ROOT_CLIENT_SECRET,
}
response = api_client.post(url, data=data)
# Fideslib will raise a ValueError: Scopes are required when using the OAUTH_ROOT_CLIENT_ID
The text was updated successfully, but these errors were encountered:
Bug Description
500 error when attempting
POST {{host}}/oauth/token
:Cause
POST {{host}}/oauth/token
does not pass in needed scopes to fideslib throughClientDetail.get()
Steps to Reproduce
make server
on fidesopsPOST {{host}}/oauth/token
Expected behavior
200 OK
Additional info
Add a test for root client oauth:
The text was updated successfully, but these errors were encountered: