Created
July 15, 2015 17:01
-
-
Save jdcasey/b6254fb5813136ae8495 to your computer and use it in GitHub Desktop.
aprox + keycloak local with enable-basic-auth
This file contains 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
UI: http://aprox.local:8081/index.html | |
REST: http://aprox.local:8081/api/** | |
Keycloak: http://keycloak.local:8080/auth |
This file contains 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
{ | |
"realm": "${keycloak.realm}", | |
"resource": "${keycloak.uiResource}", | |
"realm-public-key": "${keycloak.realmPublicKey}", | |
"auth-server-url": "${keycloak.url}", | |
"ssl-required": "external", | |
"public-client": true | |
} |
This file contains 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
[keycloak] | |
enabled=true | |
url=http://keycloak.local:8080/auth/ | |
server.credential.secret=e9d16474-a6eb-4918-a684-c561a957e54c | |
realm.public.key=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmX/C0nZNxTEamY9dCvqTE1xWgzospqETGHHy1ulgx0S+GO07Mkod7msBnuzkNEU6AT0XsOkoPnV/aMNAySUHKxmelWVaBJOgvRTiv9aZHqMBt6ky8btChDCWTdH8CaU1XpB7XH7D0L02NB6CDpq0OcywZKDTwhcf3wtjGNKjBjRjWXH3DcprEfwuaWCJG7+yqgPDqH7wT9N2AhDKAcc4BT+o5kEucxZ/lP1Pog8Uo2j7KVor996lxs/BM8lzhldG7JTWd4XXbk2hKtb+Uq5Q0lR2lVJFCgxOEj5hGLuzGw6MkdzW5Vs3Ki6jk/besvo8qU0IqZ25CygOidxjLyaERQIDAQAB |
This file contains 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
{ | |
"realm": "${keycloak.realm}", | |
"resource": "${keycloak.serverResource}", | |
"realm-public-key": "${keycloak.realmPublicKey}", | |
"auth-server-url": "${keycloak.url}", | |
"ssl-required": "external", | |
"enable-basic-auth": true, | |
"enable-cors": true, | |
"credentials": { | |
"secret": "${keycloak.serverCredentialSecret}" | |
} | |
} |
This file contains 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
[XNIO-1 task-16] DEBUG o.k.adapters.PreAuthActionsHandler - adminRequest http://aprox.local:8081/index.html?code=-L1ZlcUbN-FFSDWHKPyP4KiLfvyE3evTnyXXCQvVcPU.37879085-1ab2-4ed7-81d0-b61b659c9606&state=64bd3ede-ade3-4f25-8e4e-d1c868cc1117 | |
[XNIO-1 task-16] DEBUG o.k.adapters.PreAuthActionsHandler - checkCorsPreflight http://aprox.local:8081/index.html?code=-L1ZlcUbN-FFSDWHKPyP4KiLfvyE3evTnyXXCQvVcPU.37879085-1ab2-4ed7-81d0-b61b659c9606&state=64bd3ede-ade3-4f25-8e4e-d1c868cc1117 | |
[XNIO-1 task-16] TRACE o.k.adapters.RequestAuthenticator - --> authenticate() | |
[XNIO-1 task-16] TRACE o.k.adapters.RequestAuthenticator - try bearer | |
[XNIO-1 task-16] TRACE o.k.adapters.RequestAuthenticator - try basic auth | |
[XNIO-1 task-16] TRACE o.k.adapters.RequestAuthenticator - try oauth | |
[XNIO-1 task-16] DEBUG o.k.a.u.ServletSessionTokenStore - Account was not in session, returning null | |
[XNIO-1 task-16] DEBUG o.k.a.OAuthRequestAuthenticator - there was a code, resolving | |
[XNIO-1 task-16] DEBUG o.k.a.OAuthRequestAuthenticator - checking state cookie for after code | |
[XNIO-1 task-16] WARN o.k.a.OAuthRequestAuthenticator - No state cookie |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment