Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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