The eastern border of the French Riviera is with Monaco and Italy. There are no border controls at road, bus or train crossings between Nice and Monaco or Italy and you will not be obliged to produce your passport. Be aware that in France you are obligated to carry a passport or identity card.