0

I did Auth Provider and built the community with experience builder. Login page has username, password and social sign on button with experience builder page but I need to change the layout out and size.I can't change the size the login page and layout at experience builder. I have no idea how to continue.

I want to know how to create own Salesfore community Single Sign On login page witn lightning component. Anyone can help me?

  • 1
    Welcome to SFSE. We generally cannot provide complete designs or step-by-step instruction, but we're happy to help you with issues you encounter in your own implementation process. For more about our format, please take the Tour and read How to Ask. Please edit your question to show us what you've tried and where you are stuck. – David Reed May 3 at 13:27
  • I did Auth Provider and built the community with experience builder. Login page has username, password and social sign on button with experience builder page but I need to change the layout out and size.I can't change the size the login page and layout at experience builder. I have no idea how to continue. – Win Myint Oo May 3 at 13:49
  • Please edit your question to specifically describe your problem. – David Reed May 3 at 13:50
  • I saw loginform and other aura component in aura folder, but doesn't have social login aura component in aura folder. – Win Myint Oo May 3 at 13:51
0

You are on the correct path and have followed the steps correctly. Doing those things will indeed allow you to social sign in to the standard page.

There are two ways to change the look and feel.

Limited way:

Change the global CSS in community builder. You will have control over look and feel of the buttons

Explicit way:

You need to either create an Aura (recommended)/LWC or a VF page which contains one button, on click of that button you can add the single sign-on URL generated in Auth provider. This and this should be a good starting point should you need to modify standard login via username and password.

| improve this answer | |
  • @manjiti5190 Thank you so much. > you can add the single sign-on URL generated in Auth provider. single sign-on URL means authorize endpoint? – Win Myint Oo May 3 at 14:10
  • It would be the SSO initialization URL at the bottom of Auth Provider in communities section – manjit5190 May 3 at 14:16
  • Thank you so much. OK, I See. I'll try later. Can I retrieve SSO initialization URL and other Auth Provider's info from apex? – Win Myint Oo May 3 at 14:22
  • You can use the relative URL or store it somewhere in metadata or a label because your guest user will need access to it. – manjit5190 May 3 at 14:25
  • I created custom Aura login page but it wasn't shown in Community > Administration > login& registration > login page type > experience builder page. How can I set my custom login page to as community's default login page. – Win Myint Oo May 4 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.