I'm using Forge App for Forking Repository across workspace, all the permissions and required scopes are provided to the Forge App. Still whenever we try to Fork Repo from a different workspace (forking a public repo) through Forge app, getting issues.
Hello @Shipra Kumari ,
and welcome to the Community!
I would like to clarify a few questions first so we can narrow down the issue:
This additional information we'll help us on finding what might be causing this error.
Thank you, @Shipra Kumari !
Patrik S
Hi @Patrik S ,
Please find the additional info as requested
We are authenticating the API call to create the fork using .asApp().
Yes, the forking works when we fork a repository in the same workspace.
Yes, the forking only fails when forking from a different workspace.
Yes, it is enabled.
Also the Forge app is installed in both the workspaces so that it can have permissions in both the workspaces.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Shipra Kumari ,
Thanks for providing the additional information.
Upon confirmation with our engineering team, forge request tokens are linked to the workspace the app is installed in and where it was generated, so you can fork within the same workspace, as you confirmed to be working, but not from a different workspace (even if the app is installed in both).
Thank you, @Shipra Kumari !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.