발행일 : 03/10/2025

Resource Owner Grant

The Resource Owner grant is the only type that doesn’t require a redirect URL. If setting up Postman (the API development platform) is proving difficult, try this grant type.

The following snippet will create an OAuth token using the Resource Owner grant. This requires Client Secret() and Password().

token = New OAuth2 Token(
	User( "yourgoogleaccount@gmail.com" ),
	Password( "wordP@ss0192" ),
	Client ID( "1234abcd" ),
	Client Secret( "5678EfGh" ),
	Token URL( "https://example.com/services/v1/token" )
);

After you run this code once, clean it up and make it secure.

token = New OAuth2 Token(
	User( "yourgoogleaccount@gmail.com" ),
	Client ID( "1234abcd" ),
);
더 많은 정보를 원하십니까? 질문이 있습니까? JMP 사용자 커뮤니티에서 답변 받기 (community.jmp.com).