---
schema_version: "1"
id: 8b7ac81d0d5a0cb990512fd16a07c7270e74fb687bf771377e8ffbc434da8273
title: Add Embedded Login Meta Tags to Your Web Page
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/external_identity_login_webpage_metadata.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.external_identity_login_webpage_metadata.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3b91ec55f894e04a79b87920660a9ef7118d4e53d38dae5a4d8c1c6ec2c88a98
description: You enter meta tags on your web page where you want to add login capabilities with Embedded Login. You specify the Salesforce site URL, what the login form looks like, and the location of the CSS style sheet.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Add Embedded Login Meta Tags to Your Web Page

You enter meta tags on your web page where you want to add login capabilities with Embedded Login. You specify the Salesforce site URL, what the login form looks like, and the location of the CSS style sheet.

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-identity-264-0-0-production-enus/699dab6f-8f1a-4662-b24f-6521d5b747f7/images/icon_warning.png)

Warning In Summer ’24, Salesforce made Embedded Login disabled by default. We recommend that you use the [web server flow](https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_web_server_flow.htm&type=5&language=en_US), the [user-agent flow](https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_user_agent_flow.htm&type=5&language=en_US), or another redirect-based OAuth 2.0 flow instead of Embedded Login.

Embedded Login relies on third-party cookies, which are blocked or restricted in most browsers. And Embedded Login works only on Google Chrome and only as long as third-party cookies are allowed there by default.

On the web page where you want to add to login capabilities, add Embedded Login information within the `<head>` HTML element.

1. Open the web page that you want to add login capabilities to.
2. In the `<head>` HTML element at the top of the file, enter these required meta tags, specifying the values from your configuration.
    
    - salesforce-community
    - salesforce-client-id
    - salesforce-redirect-uri
    - salesforce-mode
    - salesforce-target
    - salesforce-login-handler
    - salesforce-logout-handler
    - salesforce-server-callback (required if you’re using a server-side callback)
3. Optionally, enter these meta tags.
    
    - salesforce-forgot-password-enabled
    - salesforce-self-register-enabled
    - salesforce-register-starturl-enabled
    - salesforce-mask-redirects
    - salesforce-use-min-js
    - salesforce-cache-max-age
    - salesforce-save-access-token
4. Enter the link to the location of CSS resources. The CSS resides on a static endpoint hosted by your site.
    
    `<link href="https://embeddedlogin-dev-ed.my.site.com/demo/servlet/servlet.loginwidgetcontroller?type=css" rel="stylesheet" type="text/css" />`
5. Add this Embedded Login script, replacing the site URL https://embeddedlogin-dev-ed.my.site.com/demo with your own.
    
    `<script src="https://embeddedlogin-dev-ed.my.site.com/demo/servlet/servlet.loginwidgetcontroller?type=javascript_widget" async defer></script>`