Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change auth from api-key to client credentials #30

Merged
merged 7 commits into from
Apr 18, 2024

Conversation

mbiannaccone
Copy link
Collaborator

@mbiannaccone mbiannaccone commented Apr 12, 2024

still todo:

  • tests
  • fix the logging websocket service (and re-deploy) -- pr here

i'm able to successfully test canvas plugin list and canvas plugin update against live environments, but i can't test canvas plugin install since we've ripped out all the code needed for the old way of installing.

@mbiannaccone mbiannaccone requested a review from aduane April 12, 2024 02:49
return expiration_date is not None and datetime.fromisoformat(expiration_date) > datetime.now()


def get_or_request_api_token(host: str, client_id: str | None, client_secret: str | None) -> str:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@beaugunderson this is the function you will call to get an oauth token for the deploy command

@mbiannaccone mbiannaccone requested a review from jrwils April 17, 2024 17:41
@mbiannaccone mbiannaccone merged commit 01c4689 into main Apr 18, 2024
2 checks passed
@mbiannaccone mbiannaccone deleted the michela/koala-1285-auth branch April 18, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants