getting an error saying i don’t have permissions to integrate a webapp (when i’m an admin)
You’ll see that error if the scope you’re requesting isn’t supported by the portal you’re trying to authorize, such as requesting the
content scope for a portal without any of the content tools.
Are you trying to authorize your developer account? Developer accounts can’t be used with OAuth, since they don’t include any of the normal marketing or sales tools, just the developer tools, so you’d need to create a test portal to test with.