https://github.com/is2ei/ueberauth_typetalk_example
https://github.com/is2ei/ueberauth_typetalk_example
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/is2ei/ueberauth_typetalk_example
- Owner: is2ei
- License: mit
- Created: 2019-02-09T14:02:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T03:13:09.000Z (over 3 years ago)
- Last Synced: 2025-01-12T05:28:48.011Z (over 1 year ago)
- Language: Elixir
- Size: 356 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Überauth Typetalk strategy Example
[![Build Status][travis-img]][travis] [![License][license-img]][license]
[travis-img]: https://travis-ci.com/is2ei/ueberauth_typetalk_example.svg?branch=master
[travis]: https://travis-ci.com/is2ei/ueberauth_typetalk_example
[license-img]: http://img.shields.io/badge/license-MIT-brightgreen.svg
[license]: http://opensource.org/licenses/MIT
> Using Überauth for authentication in Phoenix.
This project demonstrates how to use Überauth and Typetalk strategy to provide authentication for a Phoenix application.
+ Typetalk ([ueberauth_typetalk](https://github.com/is2ei/ueberauth_typetalk))
## Setup
1. Retrieve app ids and secrets and set environment variables:
+ Typetalk ([https://developer.nulab.com/docs/typetalk/](https://developer.nulab.com/docs/typetalk/))
+ TYPETALK_CLIENT_ID
+ TYPETALK_CLIENT_SECRET
+ TYPETALK_REDIRECT_URI
1. Clone the project:
```shell
$ git clone git@github.com:is2ei/ueberauth_typetalk_example.git
$ cd ueberauth_typetalk_example
```
1. Fetch dependecies:
```shell
$ mix deps.get
$ cd assets && npm install
$ npm run deploy
```
1. Run server:
```shell
$ docker-compose -d up
$ mix phx.server
```
1. Authenticate at [http://localhost:4000](http://localhost:4000)!
## License
Please see [LICENSE](https://github.com/is2ei/ueberauth_typetalk_example/blob/master/LICENSE) for licensing details.