Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 809 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 809 Bytes

Onelogin

OneLogin client written in Go.

GoDoc Go Report Card

Getting Started

go get github.com/arkan/onelogin

Register an application on OneLogin

First you need to register a new application to have clientID and clientSecret credentials.

List users

c := onelogin.New(clientID, clientSecret, "us_or_eu", team)
users, err := c.User.GetUsers(context.Background())

See the documentation for all the available commands.

Licence

MIT