Hello, trying to use pkce with azure from backend via supabase. When will authorization_code be added to /token endpoint?
(I followed github supabase auth -> token.go on v1.11.0 since thats the latest and the only one showing in docs is auth/v1)
// Token is the endpoint for OAuth access token requests func (a *API) Token(w http.ResponseWriter, r *http.Request) error { ctx := r.Context() grantType := r.FormValue("grant_type")
switch grantType {
case "password":
return a.ResourceOwnerPasswordGrant(ctx, w, r)
case "refresh_token":
return a.RefreshTokenGrant(ctx, w, r)
default:
return oauthError("unsupported_grant_type", "")
}
}
The user is attempting to use PKCE with Azure from the backend via Supabase and is inquiring about the addition of 'authorization_code' support to the /token endpoint. They reference the current implementation in the Supabase GitHub repository and note the available grant types.