Auth0 Docs home pagelight logodark logo
  • Log In
  • Contact Sales
  • Sign Up
  • Sign Up
Home
Documentation
Quickstarts
API Reference
SDKs
  • Customize
Brand Customization
  • Customize Login Pages
  • Custom Domains
  • Customize Emails
  • Customize Phone Messages
  • Customize Multi-factor Authentication SMS and Voice Messages
  • Internationalization and Localization
Code Customization
  • Actions
    • Auth0 Actions
    • Understand How Auth0 Actions Work
    • Write Your First Action
    • Explore Triggers
    • Action Use Cases
    • Action Coding Guidelines
    • Actions Limitations
    • Actions Transaction Metadata
    • Manage Dependencies
    • Manage Versions
    • Test Actions
    • Releases
    • Migrate to Actions
    • Templates for Actions
    • Actions Real-time Logs
  • Events
  • Forms
  • Rules
  • Hooks
Third-Party Customization
  • Extensions
  • Integrations
  • Log Streams
  • Auth0 Marketplace
On this page
  • Access Control
  • API Authorization
  • Compliance
  • Multifactor
  • User Profile and Identity
Code Customization
Actions

Action Use Cases

The following is a list of Actions for implementing a variety of functionality in Auth0.

​
Access Control

  • Allow access only on weekdays for a specific application
  • Allow access only to users who are inside the corporate network
  • Only allow users with specific email addresses to log in

​
API Authorization

  • Add user roles to tokens
  • Add a user’s email address to the Access Token
  • Deny access to anyone calling an API
  • Add custom claims to a token

​
Compliance

  • Update user profile metadata with user consent choice and redirect users to a consent page hosted by a third party
  • Enable Strong Customer Authentication (SCA) and dynamically link operation details to authorize a sensitive transaction

​
Multifactor

  • Require Multi-factor Authentication for users who are outside the corporate network
  • Send a verification email

​
User Profile and Identity

  • Set a default user picture
  • Retrieve user preferences from an external source and add to the user identity
Actions Triggers: credentials-exchange - API Object
Previous
Action Coding Guidelines
Next
github
Powered by Mintlify
Assistant
Responses are generated using AI and may contain mistakes.