Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 516 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 516 Bytes

oauth2-server

Go OAuth2 Web Server

OAuth2 Library

OAuth2

授权码模式(authorization code)

http://localhost:8080/oauth2/authorize?client_id=oauth2_client&redirect_uri=http://localhost/callback&response_type=code&state=somestate&scope=read_write

简化模式(implicit grant type)

http://localhost:8080/oauth2/authorize?client_id=oauth2_client&redirect_uri=http://localhost/callback&response_type=token&state=somestate&scope=read_write