Adds scope query parameter

So code flow can have customizable scopes.