Difference between revisions of "Oauth2 authentication"
Jump to navigation
Jump to search
old>Admin (Created page with " == Understanding Oauth 2 == Oauth authentication will put icons on the login page for fast and easy SSO wth multiple vendors. The user will be authenticated if the email mat...") |
old>Admin |
||
Line 21: | Line 21: | ||
=== Google Oauth === | === Google Oauth === | ||
Using an existing Google account , go to the [[https://console.developers.google.com/apis/credentials?project=oauth2-234210&folder&organizationId credentials section]]. | |||
Navigate to "Credentials" in the left menu. | |||
First setup Oauth messages in the '''Oauth conscent''' section | |||
Next setup setup credentials | |||
# Navigate back to credentials | |||
# Click '''Create credentials''' | |||
# Fill out the information | |||
#* Authorized JavaScript origins: https://alpha.tempusserva.dk | |||
#* Authorized redirect URIs: https://alpha.tempusserva.dk/TempusServa/SignInGoogle | |||
# Credentials are generated | |||
# Copy credentials to your Tempus Serva configuration | |||
#* oauthGoogleClient = [Client ID] | |||
#* oauthGoogleSecret = [Client secret] | |||
# Finally | |||
#* oauthGoogleAllow = true |
Revision as of 12:49, 11 March 2019
Understanding Oauth 2
Oauth authentication will put icons on the login page for fast and easy SSO wth multiple vendors.
The user will be authenticated if the email matches between the provider and the Tempus Serva user.
The following providors are supported.
- Goole
- Azure
- ADFS
Setting up SingleSignon
Before going into the detailed configuration please make sure https/SSL is enabled.
Set the following configurations to true
- securitySslLogin
- securitySslPages
Google Oauth
Using an existing Google account , go to the [credentials section].
Navigate to "Credentials" in the left menu.
First setup Oauth messages in the Oauth conscent section
Next setup setup credentials
- Navigate back to credentials
- Click Create credentials
- Fill out the information
- Authorized JavaScript origins: https://alpha.tempusserva.dk
- Authorized redirect URIs: https://alpha.tempusserva.dk/TempusServa/SignInGoogle
- Credentials are generated
- Copy credentials to your Tempus Serva configuration
- oauthGoogleClient = [Client ID]
- oauthGoogleSecret = [Client secret]
- Finally
- oauthGoogleAllow = true