Skip to content

A Liferay Fragment to configure and display and single "Sign in" button to an OpenId Connect Provider.

License

Notifications You must be signed in to change notification settings

lgdd/openid-connect-single-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenID Connect Single Button

A Liferay Fragment to configure and display and single "Sign in" button to an OpenId Connect Provider.

demo

Example

You enable OpenID Connect (OIDC) and add a provider under Instance Settings > SSO > OpenID Connect Provider. Now the default login display a link to OpenID Connect redirecting you to a form where you can choose an OpenID Connect Provider and sign in with it.

With this fragment, you can give to end users a single button to sign in to an OIDC Provider (e.g. Sign in with GitHub).

You might have recognized Keycloak in the GIF above. If you're interested in this setup, take a look at this repo: https://github.com/lgdd/liferay-keycloak-demo.

How to import into Liferay

Run npm run import and follow instructions or npm run compress to create a zip file and import from Liferay UI.

Notes

This project has been created with generator-liferay-fragments. You can read how to manage this project in the generator documentation.

License

MIT

About

A Liferay Fragment to configure and display and single "Sign in" button to an OpenId Connect Provider.

Topics

Resources

License

Stars

Watchers

Forks