With the latest changes to the spec, we can detect which flow is being used based on the `grant_type`.