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
Add OAuth2/Space client authentication #1595
Comments
I tried to write my own But I might need to retry the request multiple times when using a refresh token:
So my question is: How can I retry the request multiple times in an PS: When my provider is working, I'm happy to contribute it here. |
Hi, @hardysim. You can try using ‘HttpSend’ feature. You can add interceptor there and retry request multiple times(See HttpRedirect feature as the example) |
I've managed to alter the This means, I'm going to post a PR with my changes. Maybe the team will accept my solution and you'll get my |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
To crosslink the progress:
|
Is there any update regarding this issue? |
Please follow https://youtrack.jetbrains.com/issue/KTOR-5232/ |
Subsystem
Client
Is your feature request related to a problem? Please describe.
There is no oauth2 client authentication, and especially JetBrains Space auth
Describe the solution you'd like
I'd like to have smth like
actually to authenticate in Space I have to do smth like
and later on for each query use
Motivation to include to ktor
OAuth2 is quite common auth way
The text was updated successfully, but these errors were encountered: