Skip to content
#

oauth2

Here are 3,279 public repositories matching this topic...

yippibrian
yippibrian commented May 21, 2019

It looks like most of the advice from the OWASP REST Cheat Sheet is discussed in this API-Security-Checklist, but OWASP talks about the importance of CORS, which is not mentioned at all in this API-Security-Checklist. Probably good to make mention. Also, the OWASP REST Cheat Sheet provides a bit more guidance regarding validation that might be good to incorporate.

https://github.com/OWASP/Che

UkonnRa
UkonnRa commented Dec 18, 2019

Is your feature request related to a problem? Please describe.

When querying the Clients/Consent Sessions using pagination, ORY Hydra will only return results with some links, but not the total count of the items, which is useful to display in the frontend, you know, showing the total pages or something.

Describe the solution you'd like

Add the total_count parameter into Hea

💯 史上最全的整合第三方登录的开源库。目前已支持Github、Gitee、微博、钉钉、百度、Coding、腾讯云开发者平台、OSChina、支付宝、QQ、微信、淘宝、Google、Facebook、抖音、领英、小米、微软、今日头条、Teambition、StackOverflow、Pinterest、人人、华为、企业微信、酷家乐、Gitlab、美团、饿了么和推特等第三方平台的授权登录。 Login, so easy!

  • Updated May 12, 2020
  • Java
loganto
loganto commented Jun 19, 2018

So I'm extremely confused about what I should use when instantiating AuthorizationServer object.

So the documentation directs people to generate public and private keys and then literally says:

The authorization server also requires the public key.

But then this commit removes the public key from the AuthorizationServer code:
[76

diedai
diedai commented Feb 27, 2020

问题描述

前端项目登陆的时候,报错500。

原因分析

是因为feign获取user的时候,超时,然后走的是降级的代码。

本质就是因为feign请求的时候,超时。

在这个项目里,feign请求超时。

而且,自己写的简单demo ( https://gitee.com/52itstyle/Spring-Cloud-Alibaba.git ), 专门用于测试nacos和feign,也是超时。一模一样的错误。

所以,应该不是这个项目的原因,而是我的电脑(mac),只要是nacos和feign,都是超时。

2020-02-24 20:58:21.938 ERROR [authorization-server,b6ed6d23d9efe8e5,b6ed6d23d9efe8e5,true] 20465 --- [nio-8000-exec-1] 
openpencil
openpencil commented May 13, 2017

Dear Guillaume,
There is a tiny error in your documentation here: http://gmvault.org/in_depth.html
This line:

You can renew a saved oauth token with the option --renew-oauth-tok

should read:

You can renew a saved oauth token with the option --renew-oauth2-tok

The 2 is missing. The missing 2 causes an error when a user tries to renew the Oauth token. Would be great if you co

JoshuaFlood
JoshuaFlood commented Sep 28, 2019

I have developed a server using league/oauth2-server which successfully returns access tokens and resources when issuing the appropriate cURL commands.

I cannot, however, develop a functional client using the client credentials grant and I know that a lot of users of this package experience the same problem. I have asked the question on github, but I think the issue is the result of missing cod

基于Spring Boot 2.x的一站式前后端分离快速开发平台XBoot 微信小程序+Uniapp 前端:Vue+iView Admin 后端:Spring Boot 2.x/Spring Security/JWT/JPA+Mybatis-Plus/Redis/Elasticsearch/Activiti 分布式限流/同步锁/验证码/SnowFlake雪花算法ID生成 动态权限管理 数据权限 工作流 代码生成 定时任务 第三方社交账号、短信登录 单点登录 OAuth2开放平台

  • Updated May 17, 2020
  • Java
express-gateway
XVincentX
XVincentX commented Jan 2, 2018

If not for some particular exceptions, the status code returned from our WebAPI on error is always 500, regardless of the kind of error.

If an object already exists, for example, it should be returned as 409. If the object does not pass the schema validation, it should be a 415.

Go through the whole WebAPI and verify that the status codes are being returned correctly.

Hint: Error cl

ejochman
ejochman commented Apr 2, 2019

There are a couple issues open right now that suggest a general restructuring of GAM code, which I agree would be good. However, one simple fix that would help both with code structure and readability of contributed code is a style guide that could be enforced during PR review.

The main file is over 13k lines, at this point, and lacks a consistent style and structure throughout, making it diff

anuj9196
anuj9196 commented Mar 25, 2020

Describe the bug
In my application, based on the user property, I need to change the request.user to a different user.

class CustomMiddleware:
  def __init__(self, get_response):
     self.get_response = get_response

  def __call__(self, request):
     print(request.user)

     response = self.get_response(request)
     return response

and the MIDDLEWARE stack is

google-signin
VTSingle
VTSingle commented Apr 24, 2020

When I using aws-amplify && react-native-google-signin I getting every time Invalid login token. Not a valid OpenId Connect identity token.

Example of my code:

GoogleSignin.configure({ webClientId: '**************', });

signUpViaGoogle = async () => {
try {
const userInfo = await GoogleSignin.signInSilently();
await GoogleSignin.getT

authlib
jcassee
jcassee commented Sep 20, 2018

authlib contains pretty much all you need to implement JWT token validation. It would be nice if there was a simple default one provided. I'm not sure how many moving parts it would have. If no single validator would cover 80% of cases, maybe provide more docs on how to assemble one.

@lepture If you have a general idea of how you would like to see this implemented I would probably be able to do

基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户系统架构。并引入组件化的思想实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等。

  • Updated May 22, 2020
  • Java
mitar
mitar commented Mar 27, 2020

Is your feature request related to a problem? Please describe.

I am trying to build an OpenID provider only, I do not really have any resources to which one would delegate access to. So I do not need OAuth provider, just OpenId provider. The issue is that currently documentation/example just says that OAuth handlers have to be registered before OpenId ones, but does not explain which are th

Improve this page

Add a description, image, and links to the oauth2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the oauth2 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.