Code Monkey home page Code Monkey logo

xcreds's Introduction

XCreds: Sync Your Cloud Password to your Mac

Overview

XCreds works by keeping your local Mac password in sync with your Identity Provider password. If you use Azure or Google or other identity provider, XCreds will make sure the password is the same. XCreds runs in the background and checks if the cloud password has been changed. If it detects the password has changed, it prompts to login to the cloud provider and updates the local password and the keychain password automatically.

Configuration

Configuration and setting is handled from a config profile. See the Preferences section below for details on each key. The discovery URL and client ID values are required. All others are optional.

We recommend you use a preference manifest and use Profile Creator with the supplied manifest.

A sample configuration profile is available to download as well.

Azure Setup

See the wiki for Azure instructions

Download

Download XCreds from the github release page

How it works

XCreds is a menu item macOS application that works like this:

  1. On first launch, it prompts the user for their local macOS password and saves it to the keychain where the app can retrieve it later. The password is verified to be correct against local directory services.

  2. The user is prompted via a webview to log into their cloud provider.

  3. Once authenticated, OAuth tokens are returned verifying the authentication succeeded. These tokens are saved to the keychain.

  4. The cloud password entered is then used to set the local password and change the login keychain password.

Preferences

The easiest way configure is to use Profile Creator using the supplied manifest. The following keys can then be set and managed:

redirectURI (string): the URI passed back to the webview after successful authentication. Default value: "xcreds://auth/"

refreshRateHours (string): The number of hours between checks. Default value: "3".

showDebug (bool): Show push notifications for authentication progress. Default value: false

verifyPassword (bool): When cloud password is changed and the local keychain password and local user account needs to be changed, a verification dialog can be shown to verify the password. Default value: true

LogFileName (string): The name of the log file in ~/Library/Logs/. Default value: "xcreds.log"

shouldShowQuit (bool): Show Quit in the menu item menu. Default value: true

shouldShowPreferencesOnStart (bool): Show Settings on start if none are defined. Default value: false

Video

See the video on youtube

Support

Please join the #xcreds MacAdmins slack channel for any questions you have. Paid support is available from Twocanoes Software.

Thanks

Special thanks to North Carolina State University and Everette Allen for supporting this project.

OIDCLite is Copyright (c) 2022 Joel Rennich (https://gitlab.com/Mactroll/OIDCLite) under MIT License.

XCreds is licensed under BSD Open Source License.

xcreds's People

Contributors

twocanoes avatar

Watchers

James Cloos 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.