Skip to main content
Open

Support Base64 encoded parameters in OAuth 2.0 Token Service

Related products:FME Form
  • March 24, 2025
  • 2 replies
  • 34 views

gabriel_hirsch
Contributor
Forum|alt.badge.img+12

When managing web connections in FME Form and creating a new Token Service (OAuth 2.0 Credentials Flow) we need the possibility to base64 encode the consumerKey and consumerSecret in the header according to the following pattern: "Authorization: Basic <base64 encoded consumerKey:consumerSecret value>"

The current workaround is to bas64 encode the requested information with the TextEncoder transformer and then hard code the encoded value(s) in the web connection template which isn’t that generic.

2 replies

JennaKAtSafe
Safer
Forum|alt.badge.img+8

Hi ​@gabriel_hirsch, I agree — the extra step to encode to base64 could definitely be streamlined. We’ll explore this idea further! I could also see it being useful in the HTTPCaller in certain cases.


JennaKAtSafe
Safer
Forum|alt.badge.img+8
NewOpen