Using Forge External Authentication for Implementing Bot Users

Hi,
I want to use Forge External Authentication for implementing a Slack bot. But I couldn’t figure out how to make requests to Slack API without a specific user. Bots are added to channels by workspace admins and once they are added they can send messages to the Slack channels independent of any user. But when using Forge authentication, you can only access “with provider” method through “api.asUser().withProvider()” . A bot is not associated to current user. Am I, missing something or this is a limitation of Forge’s External Authentication?

1 Like

Hi @denizoguz, thanks for looking at External Authentication in Forge!

Unfortunately the feature only works with logged in users and asUser currently

I would encourage you to put in a feature request for asApp external authentication

1 Like

We have the exact same use case where asApp may be useful too (we discussed this end of last year). If there is an asApp feature the question would be when and where is the connection established. In our case, the app would require more than one connection using the same provider.

1 Like