oidc
Version, currently 0.1.26 versions
github.com/threez/oidc.cr
OIDC client for crystal
Nothing has been indexed for 0.1.2 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
oidc:
github: threez/oidc.cr
version: ~> 0.1.2Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.2. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
oidc

OIDC client for crystal extends the regular OAuth2::Client.
Installation
-
Add the dependency to your
shard.yml:dependencies: oidc: github: threez/oidc -
Run
shards install
Usage
require "oidc"
client = OIDC::Client.new("http://example.com/", "client-id", "ALSJDHJKASHGDJHGASKDJG")
# use the client to get authorize uri
state = UUID.random
client.get_authorize_uri("profile email roles openid", state.to_s)
# get access token for code
authorization_code = params["code"]
access_token = client.get_access_token_using_authorization_code(authorization_code)
Contributing
- Fork it (https://github.com/threez/oidc.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Vincent Landgraf - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.2- Tagged
- Jun 16, 2026
- Commit
e95c7da88d97- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/threez/oidc.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 6