All Projects → truqu → elm-oauth2

truqu / elm-oauth2

Licence: MIT License
OAuth 2.0 client-side utils in Elm

Programming Languages

elm
856 projects
shell
77523 projects

Projects that are alternatives of or similar to elm-oauth2

oxd
Client software to secure apps with OAuth 2.0, OpenID Connect, and UMA
Stars: ✭ 40 (-45.95%)
Mutual labels:  oauth2, oauth2-client
Auth
Authenticator via oauth2
Stars: ✭ 118 (+59.46%)
Mutual labels:  oauth2, oauth2-client
Linkedin Api Php Client
LinkedIn API PHP SDK with OAuth 2 support. Can be used for social sign in or sharing on LinkedIn. Has a good usage examples
Stars: ✭ 88 (+18.92%)
Mutual labels:  oauth2, oauth2-client
Psraw
PowerShell Reddit API Wrapper
Stars: ✭ 42 (-43.24%)
Mutual labels:  oauth2, oauth2-client
SimpleOAuth
Simple OAuth 2.0 for Android
Stars: ✭ 15 (-79.73%)
Mutual labels:  oauth2, oauth2-client
Psmsgraph
A PowerShell module for the Microsoft Graph API
Stars: ✭ 71 (-4.05%)
Mutual labels:  oauth2, oauth2-client
Hoauth2
haskell oauth2 binding
Stars: ✭ 111 (+50%)
Mutual labels:  oauth2, oauth2-client
Oauth2
Go OAuth2
Stars: ✭ 3,941 (+5225.68%)
Mutual labels:  oauth2, oauth2-client
Okhttp Oauth2 Client
Android OAuth2 client using OkHttp
Stars: ✭ 193 (+160.81%)
Mutual labels:  oauth2, oauth2-client
Oidc.example
OIDC (OpenID Connect) Example for http://openid.net/connect/
Stars: ✭ 190 (+156.76%)
Mutual labels:  oauth2, oauth2-client
Oauth2
OAuth2 framework for macOS and iOS, written in Swift.
Stars: ✭ 983 (+1228.38%)
Mutual labels:  oauth2, oauth2-client
psd2
API client for banks supporting PSD2 APIs with OAuth2 authentication.
Stars: ✭ 26 (-64.86%)
Mutual labels:  oauth2, oauth2-client
Oauth2
OAuth2 client in Go
Stars: ✭ 20 (-72.97%)
Mutual labels:  oauth2, oauth2-client
Capacitor Oauth2
Capacitor OAuth 2 client plugin with support for the Web, iOS and Android! Show your appreciation with a Github ★
Stars: ✭ 84 (+13.51%)
Mutual labels:  oauth2, oauth2-client
Retroauth
A library build on top of retrofit, for simple handling of authenticated requests
Stars: ✭ 405 (+447.3%)
Mutual labels:  oauth2, oauth2-client
Flask Oauthlib
YOU SHOULD USE https://github.com/lepture/authlib
Stars: ✭ 1,429 (+1831.08%)
Mutual labels:  oauth2, oauth2-client
Oauthswift
Swift based OAuth library for iOS
Stars: ✭ 2,949 (+3885.14%)
Mutual labels:  oauth2, oauth2-client
Hiauth
HiAuth是一个开源的基于Oauth2协议的认证、授权系统。
Stars: ✭ 273 (+268.92%)
Mutual labels:  oauth2, oauth2-client
Loginpass
Login with Google, GitHub, Twitter, Facebook and many other networks.
Stars: ✭ 177 (+139.19%)
Mutual labels:  oauth2, oauth2-client
Gam
command line management for Google Workspace
Stars: ✭ 2,558 (+3356.76%)
Mutual labels:  oauth2, oauth2-client

Elm OAuth 2

This package offers some utilities to implement a client-side OAuth 2 authorization in Elm. It covers all four basic grant types as well as the PKCE extension:

  • (RECOMMENDED) Authorization Code w/ PKCE: An extension of the original OAuth 2.0 specification to mitigate authorization code interception attacks through the use of Proof Key for Code Exchange (PKCE). FOR PUBLIC & CONFIDENTIAL CLIENTS such as the device operating system or a highly privileged application that has been issued credentials for authenticating with the authorization server (e.g. a client id).

  • Authorization Code: The token is obtained as a result of an authentication, from a code obtained as a result of a user redirection to an OAuth provider. The authorization code grant type is used to obtain both access tokens and refresh tokens and is optimized FOR PUBLIC & CONFIDENTIAL CLIENTS such as the device operating system or a highly privileged application that has been issued credentials for authenticating with the authorization server (e.g. a client id).

  • Client Credentials: The token is obtained directly by exchanging application credentials with an OAuth provider. The client credentials grant type must only be USED BY CONFIDENTIAL CLIENTS.

  • Resource Owner Password Credentials: The token is obtained directly by exchanging the user credentials with an OAuth provider. The resource owner password credentials grant type is suitable in cases WHERE THE RESOURCE OWNER HAS A TRUST RELATIONSHIP WITH THE CLIENT.

  • (DEPRECATED)* Implicit: The token is obtained directly as a result of a user redirection to an OAuth provider. The implicit grant type is used to obtain access tokens (it does not support the issuance of refresh tokens) and is optimized FOR PUBLIC CLIENTS.

    (*) https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics-16#section-2.1.2

Getting Started

Installation

elm install truqu/elm-oauth2

Examples / Demos

Troubleshooting

TROUBLESHOOTING.md

Changelog

CHANGELOG.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].