oauth2
oauth2 copied to clipboard
OAuth 2.0 server library for the Go programming language.
How can I add some additional claims to JWT token generated?
How can I create a long access token? what is the configuration I need to do for `that?` the current result of token creation `{ "access_token": "SAC112Y-OICIQDCTA7WXPQ", "expires_in": 3600, "scope":...
The `ClientInfo` interface includes `GetUserID() string`. Why? It's not called in any code except for a test that verifies the implementation. What is it supposed to be for? Since it's...
Hi, I would like the ability to extend and implement custom grant types. My use case is to implement a 'social' grant type like the following lib: https://github.com/coderello/laravel-passport-social-grant I'm currently...
hello guys, this project is very good, despite I know there are still many things I don't understand. you known, i want to implement an entire user system to process...
The key disconnect I had was understanding the expected flow of my app. After I dug around in the api and saw the implementation I figured out what the path...
I use refresh_token refresh access_token, then use access_token get userinfo server side raise token error. ```go // token info type TokenInfo struct { AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` TokenType...
Can I add a callback after login? such as updating the last login time of the database after login.
Is it possible to generate access tokens with JWT refresh tokens. Should I just create my own JWT token using the refresh token as input instead.