auth
auth copied to clipboard
Authenticator via oauth2, direct, email and telegram
In provider/oauth2 the AuthHandler func does receive a brearer-token, using which we could pontentially access a private API of identity provider. Wouldn't it be useful? Any concerns about adding some...
#123 An example for the issue
Some providers (e.g. Cognito) provide only minimal subset of user attributes in `/userinfo` endpoint, but much more in the ID tokens. That can be helpful to pass user metadata from...
As per this statement on twitter's developer website (https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api): > If you were approved for a developer account before November 15th, 2021, you were automatically converted to [Elevated access](https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-level). This...
There are probably quite a few parts in this issue, I totally see those as separate small PRs / issues. ## Context Currently, `auth` package supports various OAuth2 providers and...
This adds a new method to add providers that allows to configure additional scopes and a hook that is called with the authenticated HTTP client. This is a draft to...
After authentication with my provider (GitHub) I would like to fill the token.User with additional info like the organizations/teams they are in to allow RBAC later on. Unfortunately, it seems...
should be very similar to the regular (public) [github provider](https://github.com/go-pkgz/auth/blob/master/provider/providers.go#L45) re: https://github.com/umputun/remark42/issues/908
The current jwt code has been deprecated in the upstream This PR aims to upgrade the library to v5. This will make upgrading for security vulnerabilities / bugs easier in...
support oauth2 authcode options