You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil Editor Docs

anvil.saml.auth Module

Functions

get_user_attributes()

Get the user attributes of the currently-logged-in SAML user.

The exact attributes available will depend on your SAML Identity Provider.


    get_user_email()

    Get the email address of the currently-logged-in SAML user.

    To log in with SAML, call anvil.saml.auth.login() from form code.


      login()

      Prompt the user to log in via SAML



      Do you still have questions?

      Our Community Forum is full of helpful information and Anvil experts.


      anvil.saml.auth