Comments (2)
:page-tags:
includesSocial Media Login
which isn't a tag, see here- SEO description
Liberty using the SocialLogin feature
should beSocial Media Login
What you'll learn
- Should include
Amazon
in the first paragraph.
Generating a self signed certificate
To generate certificates for your service to use for HTTPS connections, ...
- The command prompts the user for a password, might want to add that to the guide, similar to the next paragraph
When prompted, set the password...
Before the certificate and private key can be imported into the keystore for your service, ...
- The guide asked us to generate a certificate, where did the key come from? Might need some clarification.
keytool \
-importkeystore \
-srckeystore certificate.p12 \
-srcstoretype PKCS12 \
-destkeystore key.p12 \
-deststoretype PKCS12
- It prompts us for multiple passwords, clarify if it's asking to set a password or to use a password we set previously
Setting up for GitHub
keytool \
-import -trustcacerts \
-file github.pem \
-alias github \
-keystore slts.p12 \
-storetype PKCS12 \
-storepass changeit
keytool \
-import -trustcacerts \
-file github_api.pem \
-alias github_api \
-keystore slts.p12 \
-storetype PKCS12 \
-storepass changeit
- Terminal prompt
Trust this certificate? [no]:
add in the guide that it will prompt you, and to respond withy
.
- Button says "Register a new application" not "New OAuth App"
- Maybe specify somewhere in the guide that you only need to set up once using EITHER GitHub, Amazon, or Google, depending on which social service you want to use for your app.
Configuring the security and social media login
- Probably should mention here that the user should only add the specific configuration corresponding to their social platform of choice (Amazon, GitHub, Google) to the server.xml file.
Configuring the security roles
- The
HelloService
hotspot isn't working
Adding [social-platform] login configuration
- Add an action block to specify that the user needs to replace the values of certain keys to keep it consistent throughout guides
Running the application
- The
http
link doesn't work in Chrome. Throws anYour connection is not private NET::ERR_CERT_INVALID
error. I assume it needs to be ahttps
link since the rest of the links arehttps
- Getting errors when trying to access the app.
[INFO] [ERROR ] CWWKS5461E: The social login feature encountered an error while getting user information from the user API [https://api.github.com/user/emails] that is configured for social login configuration [githubLogin]. CWWKS5490E: Cannot process the response from the [https://api.github.com/user/emails] user API endpoint. The response status was [401], error was [{"message":"Requires authentication","documentation_url":"https://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user"}] and the error description was [null].
[INFO] [ERROR ] CWWKS5452E: The social login feature cannot authenticate the user because the response from the user API that is configured for the social login configuration [githubLogin] is null or empty.
from guide-social-media-login.
The
http
link doesn't work in Chrome. Throws an Your connection is not privateNET::ERR_CERT_INVALID
error. I assume it needs to be ahttps
link since the rest of the links arehttps
The error is because we are using a self-signed certificate. There should be an option to continue anyway (Advanced --> Continue Anyway).
The https
links are the endpoints used by the socialLogin
feature. HelloService
uses http
from guide-social-media-login.
Related Issues (20)
- Peer Review #2 - Windows HOT 2
- Peer Review - Linux HOT 2
- SME Review
- Content Review HOT 2
- Dev content review for logout branch
- Peer Review 3 - Windows HOT 2
- Peer Review - Linux HOT 2
- Peer Review - Mac HOT 1
- Acrolinx Check HOT 1
- Dev content review for the experimental branch HOT 1
- User Review
- SEO description shouldn't be abstract HOT 1
- Front matter needs updates
- Laura's review feedback HOT 4
- Feedback from Jamie
- Consider guide-social-media-login for repo name HOT 1
- ID review feedback
- Publishing Tasks Checklist
- Post-Publishing Tests Checklist HOT 1
- Add a prereq section
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guide-social-media-login.