Created
April 9, 2019 10:56
-
-
Save magwas/e6e7fa77caa43153530d973b774e3f53 to your computer and use it in GitHub Desktop.
auth0 config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in github I created a 'github application', with user authorization callback url as https://kode-konveyor.eu.auth0.com/login/callback | |
in auth0 I have created a 'regular web application', and enabled github. | |
relevant apache configuration: | |
DocumentRoot /var/www/repo | |
OIDCProviderMetadataURL https://kode-konveyor.eu.auth0.com/.well-known/openid-configuration | |
OIDCClientID Iv1.e37ead34f234dcfe | |
OIDCClientSecret '<the auth0 client secret>' | |
OIDCScope "openid name email" | |
OIDCRedirectURI https://repo.kodekonveyor.com/auth/callback | |
OIDCCryptoPassphrase <passwordToEncryptTheSessionInformationOnTheCookie> | |
<Directory /var/www/repo> | |
DirectoryIndex off | |
RewriteEngine Off | |
AllowOverride None | |
AuthType openid-connect | |
Require valid-user | |
LogLevel debug | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment