Skip to content

Simple gem that does basic authentication against Atlassian Crowd

Notifications You must be signed in to change notification settings

imeyer/crowd-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

How-to

> require 'crowd-auth'

> c = Crowd::Auth.new
> c.crowd_url = "http://your.crowd.url:8095"
> c.crowd_app_name = "app_name"
> c.crowd_app_pass = "app_password"

> resp = c.authenticate('username', 'password')

> puts resp.code
200

Anything but a 200 means authorization failed.

Overload crowd_auth_uri with your crowd's rest url.

By default, that is /crowd/rest/usermanagement/latest/authentication

Thanks

Kastner, as always for the insight and help making things cleaner.

About

Simple gem that does basic authentication against Atlassian Crowd

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages