Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to keycloak from auth0 #121

Merged
merged 15 commits into from
Oct 27, 2020
Merged

Switch to keycloak from auth0 #121

merged 15 commits into from
Oct 27, 2020

Conversation

Powersource
Copy link
Member

@Powersource Powersource commented Oct 16, 2020

Fixes #120

@Powersource Powersource mentioned this pull request Oct 16, 2020
12 tasks
@Powersource
Copy link
Member Author

So I think I've started plugging stuff in correctly now. Now you can click Login and you won't be sent to auth0, but you're sent to e.g.

http://localhost:3000/undefined/protocol/openid-connect/auth?client_id=realities&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F3c198940-etc&state=eccd53df-etc&response_mode=fragment&response_type=code&scope=openid&nonce=51b0d8etc

which doesn't really log you in, gonna research this a bit more

@Powersource
Copy link
Member Author

Added redirectUri option to login() but didn't seem to change anything.

@Powersource
Copy link
Member Author

Ah the config keycloak generated for me was pretty bad, I had to have url instead of auth-server-url

@Powersource
Copy link
Member Author

Powersource commented Oct 19, 2020

image

Got 502 bad gateway when trying to register a new account after clicking on login

POST https://auth.platoproject.org/auth/realms/plato/login-actions/registration?session_code=CwWzetc&execution=f1d63d95-etc&client_id=realities&tab_id=ZUYetc

Edit: the registration seems to have worked anyway, since next time i click Login I get correctly redirected back to Realities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to keycloak from auth0
1 participant