Open philipkershaw opened 3 years ago
Hi @philipkershaw we were discussing the OAuth2 integration in synda in a meeting this morning. We are very eager to be able to include this in synda code, is there any documentation/examples that could help us test this out?
Hi @AtefBN, @glevava,
I wanted to check with you how easy it might be to add support for OAuth 2.0 access tokens for Synda?
For the ESGF Future Architecture we have integrated OAuth 2.0 and we plan to use this authentication method as a complete replacement to user certificate-based auth for wget scripts.
It should be relatively straightforward to make the changes. The Synda client would need to include an access token in the HTTP Authorization header. You might also need to integrate a way to store and use refresh tokens in order to get a new access token should the existing one expire.