Giter Site home page Giter Site logo

erlef / oidcc_cowboy Goto Github PK

View Code? Open in Web Editor NEW
3.0 10.0 11.0 3.81 MB

Cowboy OpenId Connect support by using oidcc

Home Page: https://hexdocs.pm/oidcc_cowboy

License: Apache License 2.0

Erlang 100.00%
cowboy erlang openid openid-client openid-connect security-wg

oidcc_cowboy's People

Contributors

bwegh avatar maennchen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oidcc_cowboy's Issues

Google not responding with provider in response QPs. Always ending in bad state

The return URL I get from Google is: http://localhost:4000/session?code=4/D7X-sLvBXgnr0AvHQUg7eZElYne3Wxli6xcpHr36Bts&authuser=0&session_state=c3ea9014627930999c2db4d3e8ba16dbb04dd4c6..2b18&prompt=consent# which does not include a provider params. According to: https://github.com/indigo-dc/oidcc_cowboy/blob/master/src/oidcc_cowboy.erl#L269 oidcc_cowboy requires the provider param to create a new session.

I've looked through the Google' API console but cannot find any option to include this.

Stipend Implementation

Part of erlef/oidcc#221

Requirements

  • Good Test Coverage
  • Good Code Quality
  • Conforms to the following Conformance Profiles
    • Basic Relying Party
    • Relying Party Using Configuration Information
    • Form Post Relying Party
  • Secure Defaults
    • Shipped with a secure and complete TLS setup OTP 26 ships with one
    • Can be overridden with custom TLS settings
    • JWT Settings are automatically set up to the most strict settings according to the OIDC Config Introspection
  • GitHub Actions Setup that runs
    • Unit Tests
    • Linter
    • Dialyzer
  • All libraries are well documented on Hex via rebar3_ex_doc
    • public functions have dialyzer specs
    • public functions have examples
    • contains setup instructions
    • contains examples for most common use cases
  • Compatible with latest stable OTP releases at time of publication

TODO

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.