Skip to main content

Link a variable to an authentication

info

This feature is currently only supported for OAuth2 authentication.

Dynamic profile with OAuth 2

Instead of select a profile directly from profile list, you can automatically select a profile using a variable.

First, declare a new variable inside you code that will contain your target profile ID:

Declare profile ID

Then, click on the 🔗 button in front of profile's list and select inside the dropdown the variable that will contain the profile ID.

Select profile variable

Now the variable is linked, and you can dynamically change the profile ID inside this variable.