* Initial Commit for OAuth API This builds and run and return the right error. Need to test it and then adding all users as possible client * Added mising dependency * just compile already... * Fixing template test * Imrpovements Moved db stuff in models Added some tests Added form in modpanel to add/update a client Added controllers for add/update of client * Added Forms + speed improvements Controller oauth client listing + html Controller oauth client delete + messages Messages on comment delete New ES config that disable ES if set to false. Improve load speed on local development Fix a load config bug Fix index admin & translation string sign_out broken by @ewhal * Sanitize empty strig in form array + css Multiple empty array of strings are sanitized for the oauth client create form Added some css for the form display * Upload and Create form works * Fix splitting response types * Removing required on secret when updating * fix travis error * Fix travis template test * Update dependency * Moved to jinzhu instead of azhao * randomizen secret on creation * Final touch on oath api improved display name fix grant form csrf fix login csrf on oauth * Fix gorm test * fix template test * Fixing deleted dependency issue * Make travis faster * Fix typo * Fix csrf for api calls * This shouldn't be exempt * Removing hard coded hash @ewhal Don't forget to replace the hash in tokens.go with another one * Added an example on how to use OAuth middleware * Renamed fosite utils to oauth2 utils
78 lignes
2,3 Kio
YAML
78 lignes
2,3 Kio
YAML
hash: d92ad78a0e95699af758182303644f7316bb846aa8efbd29301f27cf690b59f3
|
|
updated: 2017-07-08T21:49:06.7880537+02:00
|
|
imports:
|
|
- name: github.com/asaskevich/govalidator
|
|
version: 4918b99a7cb949bb295f3c7bbaf24b577d806e35
|
|
- name: github.com/dgrijalva/jwt-go
|
|
version: d2709f9f1f31ebcda9651b03077758c1f3a0018c
|
|
- name: github.com/golang/mock
|
|
version: 93f6609a15b7de76bd49259f1f9a6b58df358936
|
|
subpackages:
|
|
- gomock
|
|
- name: github.com/mohae/deepcopy
|
|
version: 491d3605edfb866af34a48075bd4355ac1bf46ca
|
|
- name: github.com/oleiade/reflections
|
|
version: 2b6ec3da648e3e834dc41bad8d9ed7f2dc6a9496
|
|
- name: github.com/pborman/uuid
|
|
version: a97ce2ca70fa5a848076093f05e639a89ca34d06
|
|
- name: github.com/pkg/errors
|
|
version: 645ef00459ed84a119197bfb8d8205042c6df63d
|
|
- name: github.com/rakyll/hey
|
|
version: 886125b9f23d5bdb23dbb1000f2bff4b757ccfb1
|
|
subpackages:
|
|
- requester
|
|
- name: golang.org/x/crypto
|
|
version: 453249f01cfeb54c3d549ddb75ff152ca243f9d8
|
|
subpackages:
|
|
- bcrypt
|
|
- blowfish
|
|
- name: golang.org/x/net
|
|
version: dd2d9a67c97da0afa00d5726e28086007a0acce5
|
|
subpackages:
|
|
- context
|
|
- http2
|
|
- http2/hpack
|
|
- idna
|
|
- lex/httplex
|
|
- publicsuffix
|
|
testImports:
|
|
- name: github.com/davecgh/go-spew
|
|
version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9
|
|
subpackages:
|
|
- spew
|
|
- name: github.com/golang/protobuf
|
|
version: 69b215d01a5606c843240eab4937eab3acee6530
|
|
subpackages:
|
|
- proto
|
|
- name: github.com/gorilla/context
|
|
version: 1ea25387ff6f684839d82767c1733ff4d4d15d0a
|
|
- name: github.com/gorilla/mux
|
|
version: bcd8bc72b08df0f70df986b97f95590779502d31
|
|
- name: github.com/moul/http2curl
|
|
version: 4e24498b31dba4683efb9d35c1c8a91e2eda28c8
|
|
- name: github.com/parnurzeal/gorequest
|
|
version: a578a48e8d6ca8b01a3b18314c43c6716bb5f5a3
|
|
- name: github.com/pmezard/go-difflib
|
|
version: d8ed2627bdf02c080bf22230dbb337003b7aba2d
|
|
subpackages:
|
|
- difflib
|
|
- name: github.com/stretchr/testify
|
|
version: 69483b4bd14f5845b5a1e55bca19e954e827f1d0
|
|
subpackages:
|
|
- assert
|
|
- require
|
|
- name: golang.org/x/oauth2
|
|
version: b9780ec78894ab900c062d58ee3076cd9b2a4501
|
|
subpackages:
|
|
- clientcredentials
|
|
- internal
|
|
- name: google.golang.org/appengine
|
|
version: 3a452f9e00122ead39586d68ffdb9c6e1326af3c
|
|
subpackages:
|
|
- internal
|
|
- internal/base
|
|
- internal/datastore
|
|
- internal/log
|
|
- internal/remote_api
|
|
- internal/urlfetch
|
|
- urlfetch
|