Skip to content

Instantly share code, notes, and snippets.

@chrisscott
Last active October 12, 2020 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisscott/73a59ce2b5b72ec605ef7ab03909f369 to your computer and use it in GitHub Desktop.
Save chrisscott/73a59ce2b5b72ec605ef7ab03909f369 to your computer and use it in GitHub Desktop.
Auth0 New Universal Login - Redirect on Device Flow Confirmation
<!DOCTYPE html>{% if prompt.screen.name == "device-code-activation-allowed" %}<html><head><meta http-equiv="refresh" content="0;url=http://example.com" /></head><body></body></html>{% else %}<html><head>{%- auth0:head -%}<title>{{ prompt.screen.texts.pageTitle }}</title></head><body class="_widget-auto-layout">{%- auth0:widget -%}</body></html>{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment