> For the complete documentation index, see [llms.txt](https://docs.authgear.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide.md).

# How-To Guides

- [Authenticate](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate.md): Implement Authgear to control access to your applications
- [Add Passkeys Login](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/passkeys.md): Passkeys give users a simple and secure way to sign in to your apps and websites across platforms without passwords.
- [Add WhatsApp OTP Login](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/whatsapp-otp-login.md): Allow users to log into your app via OTP with WhatsApp, as a secure alternative to SMS
- [Add Email Magic Link Login](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/add-email-magic-link-login.md): Passwordless login with email links
- [Add Biometric Login](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/biometric.md)
- [Add Ethereum & NFT Login](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/web3.md): Login with NFTs help developers build Web3 apps without blockchain knowledge
- [Add Anonymous Users](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/anonymous-users.md): Allow guest users to use your apps and website and promote to regular users later.
- [Add authentication to any web page](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/add-authentication-to-any-web-page.md): Learn how to add authentication to any web page without using Authgear's SDKs with IIFE(Immediately-invoked Function Expression) bundle
- [Enable Two-Factor Authentication (2FA)](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/enable-two-factor-authentication-2fa.md): Guide on how to add Two-Factor Authentication to your application.
- [Use Authgear as an OpenID Connect Provider](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/oidc-provider.md): Using Authgear as an OpenID Connect Provider for any OIDC compatible applications.
- [How to Use the OAuth 2.0 State Parameter](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/how-to-use-the-oauth-2.0-state-parameter.md): Reference on what the OAuth 2.0 parameter is and how to use it in Authgear SDK.
- [Reauthentication](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/reauthentication.md): Authgear provides an easy method to reauthenticate the end-users. You can use this as a security measure to protect sensitive operations.
- [How to Use Social/Enterprise Login Providers Without AuthUI](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/how-to-use-social-enterprise-login-providers-without-authui.md): Learn how to take users directly to an external OAuth provider's authorization page without opening AuthUI login page.
- [Passwordless Login for Apple App Store Review](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/passwordless-demo-user-for-apple-app-review.md): How to pass the Apple Store review process if your app uses passwordless login.
- [Setup local development environment for Cookie-based authentication](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/local-cookie-based-web-setup.md): Setting up the local development environment for websites that use cookie-based authentication.
- [Forgot/Reset Password settings](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/forgot-reset-password-settings.md): Learn how to configure different options for password reset/account recovery.
- [Set Password Expiry](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/authenticate/set-password-expiry.md): Settings for requiring users to reset their password if they haven't logged in after specific number of days
- [Single Sign-on](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on.md): Provide a seamless user experience across multiple applications with the single sign-on feature.
- [App2App Login](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on/app2app-authorization.md): Perform faster authentication flow via another app installed on the same device.
- [Pre-authenticated URLs](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on/pre-authenticated-urls.md): Use the pre-authenticated URLs feature to open a website from a native app in an authenticated state.
- [SSO with Mobile App / Web SPA](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on/sso-with-mobile-app-web-spa.md)
- [Force Authgear to Show Login Page](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on/force-authgear-to-show-login-page.md): Force Authgear to always show login page even if the user have already logged in.
- [Single Sign-On with SAML](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on/single-sign-on-with-saml.md): Guides on how to use Authgear as a SAML Identity Provider
- [Use Authgear as SAML Identity Provider for Salesforce](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on/single-sign-on-with-saml/use-authgear-as-saml-identity-provider-for-salesforce.md): A guide on how to use Authgear as a SAML Identity Provider IdP in Salesforce
- [Use Authgear as SAML Identity Provider for Dropbox](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/single-sign-on/single-sign-on-with-saml/use-authgear-as-saml-identity-provider-for-dropbox.md): Guide on how to use Authgear as a SAML IdP for Dropbox
- [Social Login / Enterprise Login Providers](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations.md): Add third-party identity providers to enable frictionless sign in for your users
- [Social Login Providers](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/social-login-providers.md): Guides on how to add social login providers like Facebook, Google, LinkedIn Apple
- [Connect Apps to Apple](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/social-login-providers/apple.md)
- [Connect Apps to Google](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/social-login-providers/google.md): Add Google Sign in to your apps in less than 5 minutes.
- [Connect Apps to Facebook](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/social-login-providers/facebook.md): Add Facebook Sign in to your apps in less than 5 minutes.
- [Connect Apps to GitHub](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/social-login-providers/github.md)
- [Connect Apps to LinkedIn](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/social-login-providers/linkedin.md)
- [Connect Apps to WeChat](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/social-login-providers/wechat.md)
- [Enterprise Login Providers](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/enterprise-login-providers.md): Guides on how to integrate identity providers to Authgear
- [Connect Apps to Azure Active Directory](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/enterprise-login-providers/azureadv2.md)
- [Connect Apps to Microsoft AD FS](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/enterprise-login-providers/adfs.md)
- [Connect Apps to Azure AD B2C](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/enterprise-login-providers/azureadb2c.md)
- [Force Social/Enterprise Login Providers to Show Login Screen](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/how-to-setup-sso-integrations/force-social-enterprise-login-providers-to-show-login-screen.md): Use OIDC prompt parameter to force OAuth providers to show login screen.
- [Built-in UI](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/built-in-ui.md): Authgear lets you customize your users’ entire authentication experience
- [Branding in Auth UI](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/built-in-ui/branding.md): Customize the look and feel of Authgear to match your branding
- [User Settings](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/built-in-ui/auth-ui.md): Authgear provides a wide range of prebuilt frontend for the authentication related features of your apps
- [Privacy Policy & Terms of Service Links](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/built-in-ui/privacy-policy-terms-of-service.md)
- [Customer Support Link](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/built-in-ui/customer-support-link.md): Let end-user to contact customer support in case they need help in the login process.
- [Custom Text](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/built-in-ui/localization.md)
- [Custom UI](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-ui.md): Resources about setting up your own custom User Interface for Login, Signup, Account recovery and more.
- [Authentication Flow API](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-ui/authentication-flow-api.md): Learn about what the Authentication Flow API is and how to use it to implement your own custom user interface (UI) for authentication.
- [Implement Authentication Flow API using Express](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-ui/implement-authentication-flow-api-using-express.md): This post provides a simple guide for implementing a custom email + password login and signup pages using Authentication Flow API and Express.
- [Implement Authentication Flow API using PHP](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-ui/implement-authentication-flow-api-using-php.md): This guide shows how to setup custom login and signup pages using Authentication flow API.
- [Add Custom Login/Signup UI to Native Apps](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-ui/add-custom-login-signup-ui-to-native-apps.md): This guide shows how to use Custom Login/Signup pages UI in Native Apps
- [Manually Link OAuth Provider using Account Management API](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-ui/manually-link-oauth-provider-using-account-management-api.md): Use the Account Management API to link OAuth provider.
- [Implement a custom account recovery UI using Authentication Flow API](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-ui/implement-a-custom-account-recovery-ui-using-authentication-flow-api.md): Guide on how to implement your own account recovery UI powered by the Authentication Flow API
- [Integrate](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/integration.md): Integrate Authgear with your product
- [Add custom fields to a JWT Access Token](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/integration/add-custom-fields-to-a-jwt-access-token.md): Learn how to add custom attributes to a JWT Access Token using Authgear
- [User Analytics by Google Tag Manager](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/integration/user-analytics-by-google-tag-manager.md): Learn how to integrate popular analytics and tracking tools into your Authgear project using Google Tag Manager
- [Track User Before and After Signup](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/integration/track-user-before-and-after-signup.md): Learn how to track a user that signs up from a particular source or campaign.
- [Custom domain](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/integration/custom-domain.md)
- [Custom Email Provider](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/integration/custom-email-provider.md): Optimize for email deliverability by using your own SMTP server to send Authgear Emails (such as forgot password, verifications) in your own domains.
- [Monitor](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/monitor.md): Monitor your Authgear implementation
- [Audit Log For Users Activities](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/monitor/audit-log.md)
- [Audit Log for Admin API and Portal](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/monitor/audit-log-for-admin-api-and-portal.md)
- [Analytics](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/monitor/analytics.md): See information about the total number users and active users on your Authgear project
- [User Management](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-management.md): Manage users and their access
- [Account Deletion](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-management/account-deletion.md): Allow end-users to initiate account deletion within the apps.
- [Import Users using User Import API](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-management/import-users-using-user-import-api.md): Use the user import API to bulk import users from external systems to your Authgear project
- [Export Users using the User Export API](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-management/export-users-using-the-user-export-api.md): Export users from your project into a CSV or JSON file
- [Manage Users Roles and Groups](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-management/manage-users-roles-and-groups.md): Define and manage roles and groups that you can apply to your users
- [How to Handle Password While Creating Accounts for Users](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-management/how-to-handle-password-while-creating-accounts-for-users.md): A guide on recommended practices for setting password for a user account created by an admin
- [User Profiles](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-profiles.md): How to guides related to user profiles
- [What is User Profile](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-profiles/user-profile.md)
- [Access User Profiles](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-profiles/access-user-profiles.md): Learn how to access User Profiles
- [Update User Profiles](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-profiles/update-user-profiles.md): Guide on the different ways you can modify the profiles of the users of your application.
- [Profile Custom Attributes](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-profiles/profile-custom-attributes.md): Learn how to add custom attributes to user profiles and manage existing custom attributes
- [Update user profile on sign-up using Hooks](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/user-profiles/update-user-profile-on-sign-up-using-hooks.md): Learn how to update a User profile's custom attributes on sign-up using Hooks
- [Events and Hooks](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/events-hooks.md): Event are generated and delivered to your hooks. You will be notified when important events such as new user signup happen.
- [Event List](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/events-hooks/event-list.md): The full list of events
- [Webhooks](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/events-hooks/webhooks.md): Webhooks is one of the supported hooks to receive events.
- [JavaScript / TypeScript Hooks](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/events-hooks/denohooks.md): JavaScript / TypeScript Hooks is one of the supported hooks to receive events.
- [Only Allow Signups from Inside the Corporate Network using Hooks](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/events-hooks/only-allow-signups-from-inside-the-corporate-network-using-hooks.md)
- [Mobile Apps](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/mobile-apps.md): Learn how to use SDKs for mobile apps to interact with Authgear
- [Use SDK to make authorized API calls to backend](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/mobile-apps/using-sdk-to-call-your-application-server.md): How to make authorized request to your application server after login with Authgear
- [Force authentication on app launch](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/mobile-apps/force-authentication-on-app-launch.md)
- [Customize the Login Pop-up / Disable the login alert box](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/mobile-apps/using-webview-to-open-the-authgear-ui.md): Learn how to switch between ASWebAuthenticationSession/Custom Tabs to WebKitWebView using Authgear Mobile SDKs.
- [Languages and Localization](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/languages-and-localization.md): Change the default language for your Authgear project.
- [Custom Email and SMS Templates](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/custom-email-and-sms-templates.md): Modify the template for emails and SMS messages for your Authgear project.
- [Directly accessing Authgear Endpoint](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/directly-accessing-authgear-endpoint.md): Endpoint Direct Access lets you configure what happens when user's access your Authgear project endpoint directly.
- [Troubleshoot](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/troubleshoot.md): Useful tips for using Authgear.
- [How to Fix SubtleCrypto: digest() undefined Error in Authgear SDK](https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide/troubleshoot/how-to-fix-subtlecrypto-digest-undefined-error-in-authgear-sdk.md): Guide on how to fix SubtleCrypto: digest() non-HTTPS/Secure context Error in Authgear SDK


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.authgear.com/~/changes/4UGStBVc3npNySIR4GYW/how-to-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
