I'm facing an issue while trying to integrate Bitbucket as an OAuth provider within ZITADEL.
Setup Details:- -OAuth Provider: Bitbucket (Cloud) -OAuth Type: Generic OAuth / External IDP -Redirect URI: Configured correctly as per Bitbucket and ZITADEL guidelines -Client ID/Secret: Verified from Bitbucket.
After configuring Bitbucket as an external IDP in ZITADEL and initiating the OAuth flow:
The authorization request is sent successfully to Bitbucket.
Upon granting permission, Bitbucket redirects back to the callback URL with a valid authorization code.
However, the token exchange request fails, and no user is created or logged in via Bitbucket.
Observed Behavior:- -ZITADEL does not complete the login flow. -The logs (if any) are unclear or insufficient to debug. -A 401 or token-related error occurs when trying to redeem the authorization code.
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
Z
ZITADEL
ZITADEL - Identity infrastructure, simplified for you.