ZITADELZZITADEL
Powered by
myroslavM
ZITADEL•5mo ago•
15 replies
myroslav

Cannot revoke and refresh token for aurth provider which supports only auth_methods client_secret_ba

Hi all,

I have auth provider which supports only auth_methods client_secret_basic

I use https://github.com/zitadel/oidc as client library to authorize a device

I have managed to get access token, however i cannot refresh and revoke the token

I found that basic auth header is not added to refresh and revoke requests

However the header added to DeviceAuthorization and DeviceAccessToken requests

if request.ClientSecret != "" {
req.SetBasicAuth(request.ClientID, request.ClientSecret)
}

Could you pleas help me to understand whether it is a bug or by design?

If it is a bug i can provide PR
GitHub
GitHub - zitadel/oidc: Easy to use OpenID Connect client and server...
Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation - zitadel/oidc
GitHub - zitadel/oidc: Easy to use OpenID Connect client and server...
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

refresh token and client secret
tamis0583Ttamis0583 / questions-help-bugs
2y ago
Token endpoint to refresh token
AngelAAngel / questions-help-bugs
3mo ago