Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/csokun/hello_keycloak
Elixir Phoenix Ueberauth + Keycloak Example
https://github.com/csokun/hello_keycloak
elixir elixir-phoenix keycloak oauth2 ueberauth
Last synced: 4 days ago
JSON representation
Elixir Phoenix Ueberauth + Keycloak Example
- Host: GitHub
- URL: https://github.com/csokun/hello_keycloak
- Owner: csokun
- Created: 2024-01-05T22:52:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-10T04:28:44.000Z (10 months ago)
- Last Synced: 2024-11-21T08:04:57.833Z (2 months ago)
- Topics: elixir, elixir-phoenix, keycloak, oauth2, ueberauth
- Language: Elixir
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello Keycloak
Test [`Ueberauth`](https://hex.pm/packages/ueberauth) and [`Ueberauth.Stategy.Keycloak`](https://hex.pm/packages/ueberauth_keycloak_strategy)
To start your Phoenix server:
* Run `mix setup` to install and setup dependencies
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
* Start Keycloak `docker-compose up -d`, keycloak admin portal [`localhost:9000`](http://localhost:9000) default `user/pass: admin/admin`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
## Demo
* Login (user/pass: `alice/alice`)
* Logout