Skip to content

Instantly share code, notes, and snippets.

@anishsujanani
Last active August 2, 2020 13:01
Show Gist options
  • Select an option

  • Save anishsujanani/1d39d3b1526477a391655c8edb968567 to your computer and use it in GitHub Desktop.

Select an option

Save anishsujanani/1d39d3b1526477a391655c8edb968567 to your computer and use it in GitHub Desktop.
Custom OAuth Client index
<html>
<body>
<form action="/authme", method="POST">
Scope: resorce1: read<input type="radio" name="selected_scope" value="resource1_read">
<br>
Scope: resource1: read, resource1: write<input type="radio" name="selected_scope" value="resource1_read resource1_write">
<button type="submit" value="Authenticate Me">Authenticate Me</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment