keycloak-scim/topics/identity-broker/social/stack-overflow.adoc

32 lines
1.6 KiB
Text
Raw Normal View History

2016-05-26 16:09:04 +00:00
==== StackOverflow
2016-05-26 21:33:13 +00:00
There are a number of steps you have to complete to be able to login to StackOverflow. First, go to the `Identity Providers` left menu item
and selected `StackOverflow` from the `Add provider` drop down list. This will bring you to the `Add identity provider` page.
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
.Add Identity Provider
image:../../../{{book.images}}/stack-overflow-add-identity-provider.png[]
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
You can't click save yet, as you'll need to obtain a `Client ID`, `Client Secret`, and `Key` from StackOverflow. One piece of data you'll need from this
page is the `Redirect URI`. You'll have to provide that to StackOverflow when you register {{book.project.name}} as a client there, so
copy this URI to your clipboard.
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
To enable login with StackOverflow you first have to register an OAuth application on https://stackapps.com/[StackApps].
Go to http://stackapps.com/apps/oauth/register[registering your application on Stack Apps] url and login.
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
NOTE: StackOverflow often changes the look and feel of application registration, so these directions might not always be up to date and the
configuration steps might be slightly different.
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
.Register Application
image:../../../images/stack-overflow-app-register.png[]
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
Enter in the application name and the dns domain name of your application and click `Register your Application`. Type in anything you want
for the other items.
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
.Settings
image:../../../images/stack-overflow-app-settings.png[]
2016-05-26 16:09:04 +00:00
2016-05-26 21:33:13 +00:00
Finally, you will need to obtain the client ID, secret, and key from this page so you can enter them back on the {{book.project.name}} `Add identity provider` page.
Go back to {{book.project.name}} and specify those items.
2016-05-26 16:09:04 +00:00