Skip to content

Verifying MS Teams token  #567

Description

Hello

I am building a Ask ChatGPT button in my Teams channel for when a K8s alert comes in.
When pressing the button a post request is send to a GCP Cloud Function.
In that Cloud Function I want to do some authentication, because the OpenAI API request is done there.

When you do a post request is a MS Teams channel, your Azure AD bearer token is passed along.
So my question is: Is there a way to validate that Azure AD bearer token in my GCP Cloud function?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions