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

client_credential flow #354

Open
navid-shokri opened this issue May 22, 2023 · 4 comments
Open

client_credential flow #354

navid-shokri opened this issue May 22, 2023 · 4 comments

Comments

@navid-shokri
Copy link

navid-shokri commented May 22, 2023

I am looking for the implementation of the client_credential OAuth2 flow in Owncloud to secure my machine-to-machine API calls.
In my Scenario, I have a worker service that interacts with Owncloud APIs but I need to protect the APIs from anonymous calls and force the callers to use an access token (JWT) for authentication and authorization.

@michaelstingl
Copy link

@navid-shokri did you consider App Passwords / Tokens?

@navid-shokri
Copy link
Author

navid-shokri commented May 24, 2023

yes, I do. But it means I should assign a real user to my third-party application. and I should use a basic authorization header?
I was expecting there should be a more seamless and secure approach as OAuth client_credentials flow. 😞

@shokri-navid
Copy link

do you think it can be useful for others to implement the cient_credentials flow base on this RFC? it seems pretty easy.
https://datatracker.ietf.org/doc/html/rfc6749

@navid-shokri
Copy link
Author

@phil-davis
Do you think contributing to this feature can be merged?

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

No branches or pull requests

3 participants