Generic way of handling call to multiple api endpoints that use JWT
Setting up an application to call one of a handful of different client api endpoints, each of which use JWT. However, as of now I dont know the specifics of how the specific client might implement JWT on their end. Still, I think I could handle “most” scenarios if I extracted out the “most common” parameters used in both setting up the auth step to get a token, then a flag to put the token on the url (not common). What kind of wrinkles (ignoring claims) could cause me to handle some specific client api call differently?