Microsoft Quick Authentication samples
HTML sign-in example