Asign query string to Authorization URL in OAuth2Api

Describe the problem/error/question

Can I assign a query string except Client ID and Client Serect to Authorization URL in OAuth2Api or It just can a static link ?

{
			displayName: 'Authorization URL',
			name: 'authUrl',
			type: 'hidden',
			required: true,
			default: `={{ $self["environment"] === "sandbox" ? "https://nhanh.vn/oauth?version="value"&appId="value"&returnLink="value"" : "https://nhanh.vn/oauth?version="value"&appId="value"&returnLink="value"" }}`,
		},

Hi @Hungnpv, I am a bit surprised myself but you actually can use expressions in the “Authorization URL” field :slight_smile:

I just tested this through the UI, setting a URL like this will open the URL with the correct parameter

Result:

image

Hope this helps!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.