Structr has built-in user authentication against internally stored user data and supports external authentication over OAuth.

Structr supports the following OAuth services:

  • Twitter (OAuth 1a)
  • Facebook, Google, GitHub, LinkedIn (all OAuth 2.0)

To configure external authentication, you need to properly configure the services in structr.conf.

If using the built-in authentication, a user node will be created. Structr never stores clear-text passwords to authenticate a user at login but only a salted SHA-512 hash.

OAuth

Structr supports the OAuth2 and OAuth1A (Twitter) authentication schemes. In order to make external authentication work over OAuth, you need to configure the services you want to use. Please check the URLs and enter the credentials provided by the respective authentication service provider.

The following pages provide details on how to configure OAuth for the different services:

Twitter https://dev.twitter.com/docs/auth/oauth
Google https://developers.google.com/accounts/docs/OAuth2
Facebook https://developers.facebook.com/docs/reference/dialogs/oauth/
LinkedIn https://developer.linkedin.com/documents/authentication
GitHub https://developer.github.com/v3/oauth/

Please check the URLs and enter the credentials provided by the respective authentication service provider like this.

oauth.github.authorization_location = https://github.com/login/oauth/authorize
oauth.github.token_location = https://github.com/login/oauth/access_token
oauth.github.client_id = 
oauth.github.client_secret = 
oauth.github.redirect_uri = /oauth/github/auth
oauth.github.user_details_resource_uri = https://api.github.com/user/emails
oauth.github.error_uri = /login
oauth.github.return_uri = /

Graph-Browser

About this article
Last change 2017-05-04
Topics Structr 2.0