This commit is contained in:
@ -8,7 +8,7 @@ from .models import AnsibleTask
|
||||
|
||||
|
||||
def get_ssh_key_from_auth_server(access_token: str) -> str:
|
||||
url = settings.AUTH_VERIFY_URL + "/api/auth/ssh-key/view/"
|
||||
url = settings.AUTH_APP_URL + "/api/auth/ssh-key/view/"
|
||||
print(url)
|
||||
headers = {"Authorization": f"Bearer {access_token}"}
|
||||
response = requests.get(url, headers=headers)
|
||||
|
||||
Reference in New Issue
Block a user