Coder Social home page Coder Social logo

curityio / device-secret-authenticator Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 26 KB

An authenticator accepting a nonce issued from the token profile to achieve SSO functionality

License: Apache License 2.0

Kotlin 100.00%
authenticator nonce plugin device-secret

device-secret-authenticator's Introduction

Device Secret Authenticator Plugin

Quality Availability

An authenticator accepting a nonce issued by the token profile for the purpose of native SSO. It is made to work similar to OpenID Connect Native SSO, but using the Hypermedia Authentication API instead of token exchange.

This is just a demo of the capability and is not production ready.

Configuration

Configure the token endpoint to issue a nonce together with the issued tokens. Similar to following:

var nonceIssuer = context.getNonceTokenIssuer('default');
var nonceAttributes = {};
nonceAttributes.subject = context.subjectAttributes();
nonceAttributes.context = context.contextAttributes();
nonceAttributes.created = accessTokenData.iat;
nonceAttributes.expires = refreshTokenData.exp;

Building the Plugin

You can build the plugin by issue the command ./gradlew packageJar. This will produce a folder in the build directory with the plugin JAR file and all the dependencies needed called authenticators.device-secret, which can be installed.

Installing the Plugin

To install the plugin, copy the contents of the authenticators.device-secret folder into ${IDSVR_HOME}/usr/share/plugins on each node, including the admin node. For more information about installing plugins, refer to the curity.io/plugins. If you are installing on the same machine, make sure that IDSVR_HOME is correctly exported in your shell, and iss ./gradlew deploy to build and copy the correct files.

More Information

Please visit curity.io for more information about the Curity Identity Server.

device-secret-authenticator's People

Contributors

daniellindau avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.