Skip to main content
Open

Support Base64 encoded parameters in OAuth 2.0 Token Service

Related products:FME Form
danilo_fme
gabriel_hirsch
  • danilo_fme
    danilo_fme
  • gabriel_hirsch
    gabriel_hirsch

gabriel_hirsch
Contributor

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+6

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+6
NewOpen

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings