https://github.com/stevehobbsdev/scala-play-oidc
https://github.com/stevehobbsdev/scala-play-oidc
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stevehobbsdev/scala-play-oidc
- Owner: stevehobbsdev
- Created: 2018-10-30T14:03:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T14:05:52.000Z (over 7 years ago)
- Last Synced: 2024-12-31T20:16:03.993Z (over 1 year ago)
- Language: Scala
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Scala + Play Framework bare-bones auth demo
This is a sample app for doing OpenID Connect (OIDC) flow without any libraries.
## To configure:
The app needs a few environment variables to run:
* **AUTH_DOMAIN**: The domain of the OIDC account
* **AUTH_CLIENTID**: The client ID of the app
* **AUTH_SECRET**: The secret key
## To run:
`sbt run 9000`
Then hit `http://localhost:9000` in the browser to perform authentication.