Skip to content

Verifying MS Teams token  #567

@StruyveMattice

Description

@StruyveMattice

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions